avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
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 GMT
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



Mime
View raw message