You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeff Jirsa (JIRA)" <ji...@apache.org> on 2017/05/24 20:37:04 UTC

[jira] [Created] (CASSANDRA-13551) Trivial format error in StorageProxy

Jeff Jirsa created CASSANDRA-13551:
--------------------------------------

             Summary: Trivial format error in StorageProxy
                 Key: CASSANDRA-13551
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13551
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jeff Jirsa
            Priority: Trivial


Maybe I should just ninja it: 

{code}
diff --git a/src/java/org/apache/cassandra/service/StorageProxy.java b/src/java/org/apache/cassandra/service/StorageProxy.java
index ea082d5..1ab8dd6 100644
--- a/src/java/org/apache/cassandra/service/StorageProxy.java
+++ b/src/java/org/apache/cassandra/service/StorageProxy.java
@@ -1319,7 +1319,7 @@ public class StorageProxy implements StorageProxyMBean
                 }
                 catch (Exception ex)
                 {
-                    logger.error("Failed to apply mutation locally : {}", ex);
+                    logger.error("Failed to apply mutation locally : {}", ex, ex);
                 }
             }
@@ -1345,7 +1345,7 @@ public class StorageProxy implements StorageProxyMBean
                 catch (Exception ex)
                 {
                     if (!(ex instanceof WriteTimeoutException))
-                        logger.error("Failed to apply mutation locally : {}", ex);
+                        logger.error("Failed to apply mutation locally : {}", ex, ex);
                     handler.onFailure(FBUtilities.getBroadcastAddress());
                 }
             }

{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org