diff --git a/content/content.js b/content/content.js index 777c174..9aaa4b5 100644 --- a/content/content.js +++ b/content/content.js @@ -227,11 +227,11 @@ console.log('[dsh-memory] call ok', call.tool, res.durationMs); if (UI) UI.log('ok ' + call.tool); } 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); } } 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); } }).catch(function (err) { console.warn('[dsh-memory] call throw', call.tool, String(err)); }).then(step);