jnioche commented on code in PR #1476: URL: https://github.com/apache/incubator-stormcrawler/pull/1476#discussion_r1966560088
########## external/opensearch/src/main/java/org/apache/stormcrawler/opensearch/IndexCreation.java: ########## @@ -78,13 +84,14 @@ private static boolean createTemplate( final AcknowledgedResponse createIndexResponse = client.indices().putTemplate(createIndexRequest, RequestOptions.DEFAULT); return createIndexResponse.isAcknowledged(); - } catch (IOException e) { + } catch (IOException | OpenSearchException e) { + log.warn("template not created", e); Review Comment: maybe log the name of the template 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