renatoh commented on code in PR #2044: URL: https://github.com/apache/solr/pull/2044#discussion_r1402482842
########## solr/core/src/java/org/apache/solr/cloud/api/collections/CollectionHandlingUtils.java: ########## @@ -450,6 +450,26 @@ static void processResponse( } } + static void logFailedOperation(final Object operation, final Exception e, final String collName) { + if (collName == null) { + log.error("Operation {} failed", operation, e); + } else { + log.error("Collection {}}, operation {} failed", collName, operation, e); Review Comment: To my defense, this was already within the original code, I extracted it to a method without noticing the issue, good catch! ########## solr/core/src/java/org/apache/solr/cloud/OverseerConfigSetMessageHandler.java: ########## @@ -98,6 +99,8 @@ public OverseerSolrResponse processMessage(ZkNodeProps message, String operation log.error("ConfigSet: {} operation: {} failed", configSetName, operation, e); } + addExceptionToNamedList(operation, e, results); + results.add("Operation " + operation + " caused exception:", e); Review Comment: Nope, I had forgotten to remove the original code in this instance. I did remove it -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org