mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
better catch
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3468 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
8f7e8b6ee2
commit
432d7d4e9c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user