better catch

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3468 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent 8f7e8b6ee2
commit 432d7d4e9c

@ -674,13 +674,13 @@ public final class plasmaCrawlStacker {
cacheStacksPath.mkdirs(); cacheStacksPath.mkdirs();
try { try {
this.urlEntryCache = new kelondroCache(new kelondroFlexTable(cacheStacksPath, newCacheName, preloadTime, plasmaCrawlNURL.rowdef), true, false); this.urlEntryCache = new kelondroCache(new kelondroFlexTable(cacheStacksPath, newCacheName, preloadTime, plasmaCrawlNURL.rowdef), true, false);
} catch (IOException e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
// kill DB and try again // kill DB and try again
kelondroFlexTable.delete(cacheStacksPath, newCacheName); kelondroFlexTable.delete(cacheStacksPath, newCacheName);
try { try {
this.urlEntryCache = new kelondroCache(new kelondroFlexTable(cacheStacksPath, newCacheName, preloadTime, plasmaCrawlNURL.rowdef), true, false); this.urlEntryCache = new kelondroCache(new kelondroFlexTable(cacheStacksPath, newCacheName, preloadTime, plasmaCrawlNURL.rowdef), true, false);
} catch (IOException ee) { } catch (Exception ee) {
ee.printStackTrace(); ee.printStackTrace();
System.exit(-1); System.exit(-1);
} }

Loading…
Cancel
Save