You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/08/28 16:45:07 UTC

[lucene-solr] branch reference_impl_dev updated: @613 Do not throw an exception to no one, just log.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/reference_impl_dev by this push:
     new 353ab60  @613 Do not throw an exception to no one, just log.
353ab60 is described below

commit 353ab6045e086a4856a47b9bf5907bd14c274cfe
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Fri Aug 28 11:43:21 2020 -0500

    @613 Do not throw an exception to no one, just log.
---
 solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java b/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java
index 4ee0f4d..0b0ecb1 100644
--- a/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java
+++ b/solr/core/src/java/org/apache/solr/cloud/OverseerTaskProcessor.java
@@ -495,7 +495,7 @@ public class OverseerTaskProcessor implements Runnable, Closeable {
           log.warn("Session expired, exiting...", e);
           return;
         }
-        throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, e);
+        log.error("Exception running task", e);
       }
 
       if (log.isDebugEnabled()) {