You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ma...@apache.org on 2010/10/12 10:47:11 UTC

svn commit: r1021678 - /incubator/aries/trunk/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TxInterceptorImpl.java

Author: mahrwald
Date: Tue Oct 12 08:47:11 2010
New Revision: 1021678

URL: http://svn.apache.org/viewvc?rev=1021678&view=rev
Log:
ARIES-442: Downgrade error to warning for discarded exception in the postCallWithException case.

Modified:
    incubator/aries/trunk/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TxInterceptorImpl.java

Modified: incubator/aries/trunk/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TxInterceptorImpl.java
URL: http://svn.apache.org/viewvc/incubator/aries/trunk/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TxInterceptorImpl.java?rev=1021678&r1=1021677&r2=1021678&view=diff
==============================================================================
--- incubator/aries/trunk/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TxInterceptorImpl.java (original)
+++ incubator/aries/trunk/transaction/transaction-blueprint/src/main/java/org/apache/aries/transaction/TxInterceptorImpl.java Tue Oct 12 08:47:11 2010
@@ -63,7 +63,8 @@ public class TxInterceptorImpl implement
          catch (Exception e)
          {
            // we do not throw the exception since there already is one, but we need to log it
-           LOGGER.error("An exception has occured.", e);
+           LOGGER.warn("An exception occurred during transaction clean up, which will be discared in favour of an exception" +
+           		" already thrown.", e);
          }
        } else {
          // TODO: what now?