Revision: 7984
http://sourceforge.net/p/bigdata/code/7984
Author: thompsonbry
Date: 2014-03-16 11:04:19 +0000 (Sun, 16 Mar 2014)
Log Message:
-----------
Modified DumpJournal.main() to catch Throwable and log @ ERROR rather than just catching RuntimeException.
Modified Paths:
--------------
branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/journal/DumpJournal.java
Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/journal/DumpJournal.java
===================================================================
--- branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/journal/DumpJournal.java 2014-03-16 10:55:01 UTC (rev 7983)
+++ branches/BIGDATA_RELEASE_1_3_0/bigdata/src/java/com/bigdata/journal/DumpJournal.java 2014-03-16 11:04:19 UTC (rev 7984)
@@ -311,17 +311,22 @@
}
- } catch( RuntimeException ex) {
+ } catch( Throwable t) {
- ex.printStackTrace();
+ t.printStackTrace();
- System.err.println("Error: "+ex+" on file: "+file);
+ System.err.println("Error: " + t + " on file: " + file);
+
+ // Abnormal completion.
+ System.exit(1);
}
System.out.println("==================================");
}
+
+ System.out.println("Normal completion");
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|