Skip to content

Commit

Permalink
0003304: For a failed batch log the channel it was on as well as the
Browse files Browse the repository at this point in the history
batch id. This will be useful to see in the log file
  • Loading branch information
chenson42 committed Nov 5, 2017
1 parent c7d3b8e commit 4c5e42b
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -654,7 +654,9 @@ protected void logFailureDetails(Throwable e, CsvData data, boolean logLastDmlDe
failureMessage.append(data.getDataEventType().toString().toLowerCase());
failureMessage.append(" event in batch ");
failureMessage.append(batch.getNodeBatchId());
failureMessage.append(".\n");
failureMessage.append(" on channel '");
failureMessage.append(batch.getChannelId());
failureMessage.append("'.\n");

if (logLastDmlDetails && this.currentDmlStatement != null) {
failureMessage.append("Failed sql was: ");
Expand Down

0 comments on commit 4c5e42b

Please sign in to comment.