added one catch statement
This commit is contained in:
parent
dcc88ac546
commit
6e38446f1e
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ app.get('/assets/download/:id', (req, res) => {
|
|||
if (!err) {
|
||||
log.info('Deleted:', id);
|
||||
}
|
||||
}).catch(err => {
|
||||
log.info('DeleteError:', id);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue