Fixes for notifications

This commit is contained in:
Wyatt Johnson
2018-05-08 09:32:14 -06:00
parent 778064d756
commit 231dfe7997
2 changed files with 44 additions and 17 deletions
@@ -32,7 +32,10 @@ const handleHandlers = (ctx, handlers, ...args) =>
// Attempt to create a notification out of it.
const notification = await handle(ctx, ...args);
if (!notification) {
ctx.log.info('no notification deemed by event handler');
ctx.log.info(
{ category, event },
'no notification deemed by event handler'
);
return;
}