Skip to content

Commit 29299fb

Browse files
authored
Merge pull request #9 from assertible/wip-no-processor-debug
Add better debugging when no matching process is found
2 parents b46c50c + 5b127a7 commit 29299fb

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)