couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r730248 - /couchdb/trunk/share/server/main.js
Date Tue, 30 Dec 2008 21:40:47 GMT
Author: jchris
Date: Tue Dec 30 13:40:47 2008
New Revision: 730248

URL: http://svn.apache.org/viewvc?rev=730248&view=rev
Log:
slightly better form error logging

Modified:
    couchdb/trunk/share/server/main.js

Modified: couchdb/trunk/share/server/main.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/server/main.js?rev=730248&r1=730247&r2=730248&view=diff
==============================================================================
--- couchdb/trunk/share/server/main.js [utf-8] (original)
+++ couchdb/trunk/share/server/main.js [utf-8] Tue Dec 30 13:40:47 2008
@@ -345,6 +345,7 @@
           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));
         }



Mime
View raw message