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.1
Commit: 163049391f4696705161d00a14dbe673e8614559
Parents: b07f4b8
Author: Jonathan Ellis <jbel...@apache.org>
Authored: Sat Mar 1 17:25:47 2014 -0600
Committer: Jonathan Ellis <jbel...@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);
                     }
                 }
             }

Reply via email to