jnioche commented on code in PR #1476:
URL: 
https://github.com/apache/incubator-stormcrawler/pull/1476#discussion_r1966560109


##########
external/opensearch/src/main/java/org/apache/stormcrawler/opensearch/IndexCreation.java:
##########
@@ -100,7 +107,8 @@ private static boolean createIndex(
             final CreateIndexResponse createIndexResponse =
                     client.indices().create(createIndexRequest, 
RequestOptions.DEFAULT);
             return createIndexResponse.isAcknowledged();
-        } catch (IOException e) {
+        } catch (IOException | OpenSearchException e) {
+            log.warn("index not created", e);

Review Comment:
   maybe log the name of the index at the same time?



-- 
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: dev-unsubscr...@stormcrawler.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to