Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

better catch

orbiter432d7d4e9ceb
diff --git a/source/de/anomic/plasma/plasmaCrawlStacker.java b/source/de/anomic/plasma/plasmaCrawlStacker.java
index 86d966c59..d95d986b4 100644
--- a/source/de/anomic/plasma/plasmaCrawlStacker.java
+++ b/source/de/anomic/plasma/plasmaCrawlStacker.java
@@ -674,13 +674,13 @@ public final class plasmaCrawlStacker {
cacheStacksPath.mkdirs();
try {
this.urlEntryCache = new kelondroCache(new kelondroFlexTable(cacheStacksPath, newCacheName, preloadTime, plasmaCrawlNURL.rowdef), true, false);
- } catch (IOException e) {
+ } catch (Exception e) {
e.printStackTrace();
// kill DB and try again
kelondroFlexTable.delete(cacheStacksPath, newCacheName);
try {
this.urlEntryCache = new kelondroCache(new kelondroFlexTable(cacheStacksPath, newCacheName, preloadTime, plasmaCrawlNURL.rowdef), true, false);
- } catch (IOException ee) {
+ } catch (Exception ee) {
ee.printStackTrace();
System.exit(-1);
}