diff options
author | John Christopher Anderson <jchris@apache.org> | 2009-04-17 00:47:50 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2009-04-17 00:47:50 +0000 |
commit | c0171495ea1cd8b552ae39a23ad584eec5190860 (patch) | |
tree | 4ee79f4744bd1edda0215521977ce9151d8f2ec7 /share | |
parent | 47edd9d102446e0b0b661d7cc4a7b46eae6a9a5e (diff) |
output errors differently during chunked responses (view and list)
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@765819 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share')
-rw-r--r-- | share/server/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/server/main.js b/share/server/main.js index b8612d41..3c59892b 100644 --- a/share/server/main.js +++ b/share/server/main.js @@ -414,7 +414,7 @@ function runRenderFunction(renderFun, args) { } catch(e) { log("function raised error: "+e.toString()); log("stacktrace: "+e.stack); - var errorMessage = "function raised error: "+e.toString()+"\nstacktrace: "+e.stack; + var errorMessage = "JavaScript function raised error: "+e.toString()+"\nSee CouchDB logfile for stacktrace."; respond({error:"render_error",reason:errorMessage}); } }; |