diff --git a/plugins/c9.ide.errorhandler/raygun_error_handler.js b/plugins/c9.ide.errorhandler/raygun_error_handler.js index 12be8f71..3c3dcca8 100644 --- a/plugins/c9.ide.errorhandler/raygun_error_handler.js +++ b/plugins/c9.ide.errorhandler/raygun_error_handler.js @@ -62,7 +62,9 @@ define(function(require, exports, module) { exception = new Error(exception); if (!exception) exception = new Error("Unspecified error"); - console.error(exception.stack); + console.error(exception); + if (customData) + console.log(customData); Raygun.send(exception, customData, tags); }