Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 99713 invoked from network); 12 Apr 2005 20:11:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Apr 2005 20:11:15 -0000 Received: (qmail 52401 invoked by uid 500); 12 Apr 2005 20:11:14 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 52348 invoked by uid 500); 12 Apr 2005 20:11:14 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 52335 invoked by uid 99); 12 Apr 2005 20:11:14 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 12 Apr 2005 13:11:14 -0700 Received: (qmail 99692 invoked by uid 65534); 12 Apr 2005 20:11:12 -0000 Message-ID: <20050412201112.99691.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: svnmailer-1.0.0-dev Date: Tue, 12 Apr 2005 20:11:12 -0000 Subject: svn commit: r161109 - cocoon/trunk/src/java/org/apache/cocoon/components/pipeline/AbstractProcessingPipeline.java To: cvs@cocoon.apache.org From: sylvain@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: sylvain Date: Tue Apr 12 13:11:11 2005 New Revision: 161109 URL: http://svn.apache.org/viewcvs?view=3Drev&rev=3D161109 Log: Log the original exception if error-handler fails Modified: cocoon/trunk/src/java/org/apache/cocoon/components/pipeline/AbstractPro= cessingPipeline.java Modified: cocoon/trunk/src/java/org/apache/cocoon/components/pipeline/Abstr= actProcessingPipeline.java URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/= components/pipeline/AbstractProcessingPipeline.java?view=3Ddiff&r1=3D161108= &r2=3D161109 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- cocoon/trunk/src/java/org/apache/cocoon/components/pipeline/AbstractPro= cessingPipeline.java (original) +++ cocoon/trunk/src/java/org/apache/cocoon/components/pipeline/AbstractPro= cessingPipeline.java Tue Apr 12 13:11:11 2005 @@ -494,10 +494,11 @@ } } catch (ProcessingException e) { // Log the original exception - getLogger().error("Failed to process error handler for exc= eption", e); + getLogger().error("Failed to process error handler for exc= eption", ex); throw e; } catch (Exception e) { - throw new ProcessingException("Failed to handle exception = <" + ex + ">", e); + getLogger().error("Failed to process error handler for exc= eption", ex); + throw new ProcessingException("Failed to handle exception = <" + ex.getMessage() + ">", e); } } else { // propagate exception if we have no error handler