added one catch statement

This commit is contained in:
Abhinav Adduri 2017-06-19 15:46:41 -07:00
parent dcc88ac546
commit 6e38446f1e

View file

@ -74,6 +74,8 @@ app.get('/assets/download/:id', (req, res) => {
if (!err) { if (!err) {
log.info('Deleted:', id); log.info('Deleted:', id);
} }
}).catch(err => {
log.info('DeleteError:', id);
}); });
}); });