diff options
author | John Christopher Anderson <jchris@apache.org> | 2008-12-30 21:40:47 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2008-12-30 21:40:47 +0000 |
commit | a0da70849a2ede47340e75c62b92ddfe7b89829e (patch) | |
tree | 4216bafdb51afc60700f42cfefb2d82fb00f491b /share | |
parent | 3255308650e1d3496870b2df963bc1c440ce87ca (diff) |
slightly better form error logging
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@730248 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share')
-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)); } |