diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/server/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/server/main.js b/share/server/main.js index 81180678..b8612d41 100644 --- a/share/server/main.js +++ b/share/server/main.js @@ -414,7 +414,8 @@ function runRenderFunction(renderFun, args) { } catch(e) { log("function raised error: "+e.toString()); log("stacktrace: "+e.stack); - respond({error:"render_error",reason:e}); + var errorMessage = "function raised error: "+e.toString()+"\nstacktrace: "+e.stack; + respond({error:"render_error",reason:errorMessage}); } }; |