Return-Path: Delivered-To: apmail-avro-commits-archive@www.apache.org Received: (qmail 66111 invoked from network); 26 Aug 2010 00:20:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Aug 2010 00:20:47 -0000 Received: (qmail 67955 invoked by uid 500); 26 Aug 2010 00:20:47 -0000 Delivered-To: apmail-avro-commits-archive@avro.apache.org Received: (qmail 67914 invoked by uid 500); 26 Aug 2010 00:20:46 -0000 Mailing-List: contact commits-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list commits@avro.apache.org Received: (qmail 67906 invoked by uid 99); 26 Aug 2010 00:20:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 00:20:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 00:20:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EFDE023889EB; Thu, 26 Aug 2010 00:19:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r989409 - in /avro/trunk: CHANGES.txt lang/java/src/java/org/apache/avro/ipc/Responder.java Date: Thu, 26 Aug 2010 00:19:28 -0000 To: commits@avro.apache.org From: cutting@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100826001928.EFDE023889EB@eris.apache.org> Author: cutting Date: Thu Aug 26 00:19:28 2010 New Revision: 989409 URL: http://svn.apache.org/viewvc?rev=989409&view=rev Log: AVRO-632. Java: Change RPC responder to log stack traces for user exceptions. Modified: avro/trunk/CHANGES.txt avro/trunk/lang/java/src/java/org/apache/avro/ipc/Responder.java Modified: avro/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=989409&r1=989408&r2=989409&view=diff ============================================================================== --- avro/trunk/CHANGES.txt (original) +++ avro/trunk/CHANGES.txt Thu Aug 26 00:19:28 2010 @@ -142,6 +142,9 @@ Avro 1.4.0 (unreleased) AVRO-631. Java: Make RPC plugin payload reporting consistent. (Patrick Wendell via cutting) + AVRO-632. Java: Change RPC responder to log stack traces for user + exceptions. (cutting) + BUG FIXES AVRO-622. python avro.ipc doesn't work with python2.4 (philz) Modified: avro/trunk/lang/java/src/java/org/apache/avro/ipc/Responder.java URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/src/java/org/apache/avro/ipc/Responder.java?rev=989409&r1=989408&r2=989409&view=diff ============================================================================== --- avro/trunk/lang/java/src/java/org/apache/avro/ipc/Responder.java (original) +++ avro/trunk/lang/java/src/java/org/apache/avro/ipc/Responder.java Thu Aug 26 00:19:28 2010 @@ -138,6 +138,7 @@ public abstract class Responder { } catch (Exception e) { error = e; context.setError(error); + LOG.warn("user error", e); } if (m.isOneWay() && wasConnected) // no response data