added one catch statement
This commit is contained in:
parent
dcc88ac546
commit
6e38446f1e
@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user