Index: build/tcl/chrome-emu.js ================================================================== --- build/tcl/chrome-emu.js +++ build/tcl/chrome-emu.js @@ -11,10 +11,12 @@ outArray.push(arg); } else if (typeof(arg) === 'undefined') { outArray.push(""); } else if (arg === null) { outArray.push(""); + } else if (arg instanceof Error) { + outArray.push(arg.stack); } else { outArray.push(JSON.stringify(arg)); } } return(outArray.join(' '));