renato2099 commented on a change in pull request #5910: URL: https://github.com/apache/incubator-pinot/pull/5910#discussion_r479687614
########## File path: pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/CreateSegmentCommand.java ########## @@ -252,7 +252,8 @@ public boolean execute() if (j < _retry) { LOGGER.warn("Caught exception while creating/verifying segment, will retry", e); } else { - throw e; + final String exceptionMessage = String.format("%s. File: %s", e.getMessage(), dataFiles.get(sequenceId)); + throw new Exception(exceptionMessage, e); Review comment: updated ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org