Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0671110006 for ; Sat, 12 Apr 2014 13:46:12 +0000 (UTC) Received: (qmail 40441 invoked by uid 500); 12 Apr 2014 13:46:11 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 39994 invoked by uid 500); 12 Apr 2014 13:46:09 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 39986 invoked by uid 99); 12 Apr 2014 13:46:04 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Apr 2014 13:46:04 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 3D17E98BED2; Sat, 12 Apr 2014 13:46:04 +0000 (UTC) From: robertkowalski To: dev@couchdb.apache.org Reply-To: dev@couchdb.apache.org Message-ID: Subject: [GitHub] couchdb pull request: Fauxton: do not slice off the error text fro... Content-Type: text/plain Date: Sat, 12 Apr 2014 13:46:04 +0000 (UTC) GitHub user robertkowalski opened a pull request: https://github.com/apache/couchdb/pull/207 Fauxton: do not slice off the error text from erlang errors As the erlang errors contain two linebreaks, and the parsing function is using linebreaks to separate the messages, the content was sliced off, which looked like there would not be enough space for the message. In fact it got lost during the parsing. This tries to normalize the data before and after the parsing, it removes the linebreaks of the erlang errors so it is parsed right. As the other spaces are no &nspb;-entities it does not hurt that the are removed. **Before:** ![bildschirmfoto 2014-04-12 um 14 58 15](https://cloud.githubusercontent.com/assets/298166/2687282/b3ef82f8-c248-11e3-8a08-92fc11cab7e1.png) **Now**: ![bildschirmfoto 2014-04-12 um 15 31 43](https://cloud.githubusercontent.com/assets/298166/2687279/8d7ae662-c248-11e3-92be-26b08fa385dc.png) You can merge this pull request into a Git repository by running: $ git pull https://github.com/robertkowalski/couchdb logs-sliced-off Alternatively you can review and apply these changes as the patch at: https://github.com/apache/couchdb/pull/207.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #207 ---- commit 7274188494f6fd343d9a917fa8de642807e9bba4 Author: Robert Kowalski Date: 2014-04-12T13:34:10Z Fauxton: do not slice off the error text from erlang errors As the erlang errors contain two linebreaks, and the parsing function is using linebreaks to separate the messages, the content was sliced off, which looked like there would not be enough space for the message. In fact it got lost during the parsing. This tries to normalize the data before and after the parsing, it removes the linebreaks of the erlang errors so it is parsed right. As the other spaces are no &nspb;-entities it does not hurt that the are removed. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---