Skip to content

Commit 5b127a7

Browse files
committed
Add better debugging when no matching process is found
1 parent b46c50c commit 5b127a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ var processEvent = function(event, context) {
290290
slackMessage = handleAutoScaling(event, context);
291291
}
292292
else{
293-
context.fail("no matching processor for event");
293+
context.fail("No matching processor for event. [EventSubscriptionArn: " + eventSubscriptionArn + "]");
294294
}
295295

296296
postMessage(slackMessage, function(response) {

0 commit comments

Comments
 (0)