|
|
|
@ -227,11 +227,11 @@ |
|
|
|
console.log('[dsh-memory] call ok', call.tool, res.durationMs); |
|
|
|
console.log('[dsh-memory] call ok', call.tool, res.durationMs); |
|
|
|
if (UI) UI.log('ok ' + call.tool); |
|
|
|
if (UI) UI.log('ok ' + call.tool); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
console.warn('[dsh-memory] call failed', call.tool, res.error); |
|
|
|
console.warn('[dsh-memory] call failed', call.tool, JSON.stringify(res.error)); |
|
|
|
if (UI) UI.log('fail ' + call.tool); |
|
|
|
if (UI) UI.log('fail ' + call.tool); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
console.warn('[dsh-memory] call failed', call.tool); |
|
|
|
console.warn('[dsh-memory] call failed (no res)', call.tool); |
|
|
|
if (UI) UI.log('fail ' + call.tool); |
|
|
|
if (UI) UI.log('fail ' + call.tool); |
|
|
|
} |
|
|
|
} |
|
|
|
}).catch(function (err) { console.warn('[dsh-memory] call throw', call.tool, String(err)); }).then(step); |
|
|
|
}).catch(function (err) { console.warn('[dsh-memory] call throw', call.tool, String(err)); }).then(step); |
|
|
|
|