Skip to content

Commit

Permalink
Merge pull request #4407 from tonygermano/bugfix/4406-DatabaseWriterA…
Browse files Browse the repository at this point in the history
…lerts

Fix DatabaseDispatcherScript Alerts to add msg ID
  • Loading branch information
cturczynskyj authored Apr 21, 2022
2 parents 2f3740d + b5cb5f5 commit 202db61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public Object doCall() {
responseStatus = Status.QUEUED;

logger.error("Error evaluating " + connectorProperties.getName() + " (" + connectorProperties.getName() + " \"" + connector.getDestinationName() + "\" on channel " + connector.getChannelId() + ").", e);
eventController.dispatchEvent(new ErrorEvent(connector.getChannelId(), connector.getMetaDataId(), null, ErrorEventType.DESTINATION_CONNECTOR, connector.getDestinationName(), connectorProperties.getName(), "Error evaluating " + connectorProperties.getName(), e));
eventController.dispatchEvent(new ErrorEvent(connector.getChannelId(), connector.getMetaDataId(), connectorMessage.getMessageId(), ErrorEventType.DESTINATION_CONNECTOR, connector.getDestinationName(), connectorProperties.getName(), "Error evaluating " + connectorProperties.getName(), e));
} finally {
Context.exit();
}
Expand Down

0 comments on commit 202db61

Please sign in to comment.