diff --git a/boot/boot.js b/boot/boot.js index 3547ee880..06d4628c0 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -925,7 +925,7 @@ $tw.modules.execute = function(moduleName,moduleRoot) { } } else { // line number should be included in e.stack for runtime errors - $tw.utils.error("Error executing boot module " + name + ": " + JSON.stringify(e) + "\n\n" + e.stack); + $tw.utils.error("Error executing boot module " + name + ": " + String(e) + "\n\n" + e.stack); } } }