summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2018-06-19 12:48:17 +0200
committerluccioman <luccioman@users.noreply.github.com>2018-06-19 12:48:17 +0200
commit0b302c500470d6b92ad85d60fad32279fe4fa54a (patch)
tree554d600628c0b1a6792a94605ec9ea247d9a5e20 /source
parentb159564c72f292a23a16686aade0d3413b1b75b8 (diff)
Do not block whole server startup on persisted crawl profile load error
Diffstat (limited to 'source')
-rw-r--r--source/net/yacy/crawler/CrawlSwitchboard.java5
1 files changed, 2 insertions, 3 deletions
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 ) {