Skip to content
Permalink
Browse files

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

  • Loading branch information...
luccioman committed Jun 19, 2018
1 parent b159564 commit 0b302c500470d6b92ad85d60fad32279fe4fa54a
Showing with 2 additions and 3 deletions.
  1. +2 −3 source/net/yacy/crawler/CrawlSwitchboard.java
@@ -136,9 +136,8 @@ public CrawlSwitchboard(Switchboard switchboard) {
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 ) {

0 comments on commit 0b302c5

Please sign in to comment.
You can’t perform that action at this time.