diff options
-rw-r--r-- | share/server/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/server/main.js b/share/server/main.js index 17387299..58acae90 100644 --- a/share/server/main.js +++ b/share/server/main.js @@ -345,6 +345,7 @@ while (cmd = eval(readline())) { var rendered = formFun(doc, req); print(toJSON(rendered)); } catch (error) { + log("form function raised error: "+error.toString()); log({error:(error||"undefined error")}); print(toJSON(error)); } |