From 2055990d522a9231e1d0e7cf8403464ba6d0250f Mon Sep 17 00:00:00 2001 From: Thorsten Marx Date: Sun, 24 Sep 2023 13:12:49 +0200 Subject: [PATCH] #5 avoid error log in shutdown --- .../thmarx/mongo/search/adapters/solr/SolrIndexAdapter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adapters/solr/src/main/java/com/github/thmarx/mongo/search/adapters/solr/SolrIndexAdapter.java b/adapters/solr/src/main/java/com/github/thmarx/mongo/search/adapters/solr/SolrIndexAdapter.java index 23321a5..f880af4 100644 --- a/adapters/solr/src/main/java/com/github/thmarx/mongo/search/adapters/solr/SolrIndexAdapter.java +++ b/adapters/solr/src/main/java/com/github/thmarx/mongo/search/adapters/solr/SolrIndexAdapter.java @@ -111,7 +111,8 @@ public void update() { } else if (message instanceof DropCollectionMessage dropCollectionCommand) { dropCollection(dropCollectionCommand); } - + } catch (InterruptedException ie) { + // nothing to to here } catch (Exception ex) { log.error("", ex); }