From 8edbcd8ad43a44438f3827d0de4245b9cec20081 Mon Sep 17 00:00:00 2001 From: luccioman Date: Thu, 22 Sep 2016 08:20:01 +0200 Subject: [PATCH] Log eventual Solr instances close errors. We do not want to block on this kind of error, but this should not silently fail as it may have later consequences. --- source/net/yacy/search/index/Fulltext.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/net/yacy/search/index/Fulltext.java b/source/net/yacy/search/index/Fulltext.java index 954f8438d..e70d1ba2e 100644 --- a/source/net/yacy/search/index/Fulltext.java +++ b/source/net/yacy/search/index/Fulltext.java @@ -272,7 +272,9 @@ public final class Fulltext { public void close() { try { this.solrInstances.close(); - } catch (Throwable e) {} + } catch (Throwable e) { + ConcurrentLog.logException(e); + } } private long lastCommit = 0;