Skip to content

Commit

Permalink
Pull request #564: Fix DatabaseDispatcherScript Alerts to add msg ID
Browse files Browse the repository at this point in the history
Merge in MC/connect from pr4407-add-msgid-databasedispatcherscript-alert to development

* commit '202db614d986d6ed2fd41cd13807045390f3b719':
  Fix DatabaseDispatcherScript Alerts to add msg ID
  • Loading branch information
narupley committed Apr 21, 2022
2 parents 1f82b25 + 202db61 commit a60ad05
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 a60ad05

Please sign in to comment.