couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1332) Invalid JSON shows debug level info in response
Date Mon, 30 Apr 2012 15:37:49 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Newson updated COUCHDB-1332:
-----------------------------------

    Fix Version/s:     (was: 1.1.2)

Removing 1.0.4/1.1.2.
                
> Invalid JSON shows debug level info in response
> -----------------------------------------------
>
>                 Key: COUCHDB-1332
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1332
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>    Affects Versions: 1.1.1
>         Environment: OS X 10.7.1 Macbook Pro
>            Reporter: Christopher Bonhage
>            Priority: Minor
>              Labels: erlang, error, json
>             Fix For: 1.2, 1.3
>
>         Attachments: COUCHDB-1332.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> When sending invalid JSON in an HTTP request, the response contains the string "invalid
UTF-8 JSON: " followed by an erlang tuple and the escaped internal form of the string. I noticed
that this error tuple is only logged when the [log] level is debug. I would propose that the
error tuple only be show in the client response when debug is on as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message