diff --git a/src/static/js/pluginfw/hooks.js b/src/static/js/pluginfw/hooks.js index 7141d75f4..1b09a6e5d 100644 --- a/src/static/js/pluginfw/hooks.js +++ b/src/static/js/pluginfw/hooks.js @@ -12,7 +12,7 @@ var hookCallWrapper = function (hook, hook_name, args, cb) { try { return hook.hook_fn(hook_name, args, cb); } catch (ex) { - console.error([hook_name, hook.part.full_name, ex]); + console.error([hook_name, hook.part.full_name, ex.stack || ex]); } }