mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 06:30:53 +03:00
added one catch statement
This commit is contained in:
@@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user