Skip to content

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

Do not block whole server startup on persisted crawl profile load error

luccioman0b302c500470
diff --git a/source/net/yacy/crawler/CrawlSwitchboard.java b/source/net/yacy/crawler/CrawlSwitchboard.java
index 2c8f8a23c..f53d1ca10 100644
--- a/source/net/yacy/crawler/CrawlSwitchboard.java
+++ b/source/net/yacy/crawler/CrawlSwitchboard.java
@@ -136,9 +136,8 @@ public final class CrawlSwitchboard {
CrawlProfile p;
try {
p = new CrawlProfile(this.profilesActiveCrawls.get(handle));
- } catch (final IOException e ) {
- p = null;
- } catch (final SpaceExceededException e ) {
+ } catch (final IOException | SpaceExceededException | RuntimeException e ) {
+ ConcurrentLog.warn("CrawlProfiles", "Could not load profile " + handle, e);
p = null;
}
if ( p == null ) {