couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <d...@muse.net.nz>
Subject Re: Got an exception when I creating the document
Date Sat, 09 Jul 2011 11:02:45 GMT
On 9 July 2011 10:43, Jens Alfke <jens@mooseyard.com> wrote:
>
> On Jul 7, 2011, at 9:31 PM, Eranda Sooriyabandara wrote:
>
>> org.jcouchdb.exception.DataAccessException: error creating document
>> {"id":"_design\/twits","language":"javascript","lists":{},"views":{}}in
>> database 'TwitApp': code 500
>
> Is there a way you can see the response from the server? The response body contains JSON
that describes the error. As before, the library you’re using isn’t propagating that into
the exception.
>
> —Jens

Set CouchDB local.ini [log] level=debug and restart. You'll see all
the headers/ responses in the couch.log file. Or put a transparent
proxy in between.

A+
Dave

Mime
View raw message