cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [1/9] git commit: always print stacktrace if it makes us crash
Date Tue, 04 Mar 2014 23:10:55 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.0 b07f4b8c7 -> ab2717b6f
  refs/heads/cassandra-2.1 e2a719ad0 -> 0851fd74b
  refs/heads/trunk 9eb01aebd -> c946cbf18


always print stacktrace if it makes us crash


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/16304939
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/16304939
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/16304939

Branch: refs/heads/cassandra-2.0
Commit: 163049391f4696705161d00a14dbe673e8614559
Parents: b07f4b8
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Sat Mar 1 17:25:47 2014 -0600
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Tue Mar 4 17:07:13 2014 -0600

----------------------------------------------------------------------
 src/java/org/apache/cassandra/tools/StandaloneScrubber.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/16304939/src/java/org/apache/cassandra/tools/StandaloneScrubber.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/StandaloneScrubber.java b/src/java/org/apache/cassandra/tools/StandaloneScrubber.java
index 6556c3a..315e4e1 100644
--- a/src/java/org/apache/cassandra/tools/StandaloneScrubber.java
+++ b/src/java/org/apache/cassandra/tools/StandaloneScrubber.java
@@ -148,8 +148,7 @@ public class StandaloneScrubber
                     catch (Exception e)
                     {
                         System.err.println(String.format("Error scrubbing %s: %s", sstable,
e.getMessage()));
-                        if (options.debug)
-                            e.printStackTrace(System.err);
+                        e.printStackTrace(System.err);
                     }
                 }
             }


Mime
View raw message