fix notification crash

v1.18.x
barisusakli 9 years ago
parent 2b8ecfbb94
commit 1349c4907d

@ -133,7 +133,7 @@ var async = require('async'),
return notification;
}).filter(function(notification) {
// Remove notifications that do not resolve to a path
return notification.path !== null;
return notification && notification.path !== null;
});
callback(null, notifications);

Loading…
Cancel
Save