fix notification crash

This commit is contained in:
barisusakli
2016-02-24 22:05:14 +02:00
parent 2b8ecfbb94
commit 1349c4907d

View File

@@ -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);