From 6e38446f1eeb657dccbb39d32fc192febc23c26f Mon Sep 17 00:00:00 2001 From: Abhinav Adduri Date: Mon, 19 Jun 2017 15:46:41 -0700 Subject: [PATCH] added one catch statement --- server/portal_server.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/portal_server.js b/server/portal_server.js index cb3eb346..03996dc3 100644 --- a/server/portal_server.js +++ b/server/portal_server.js @@ -74,6 +74,8 @@ app.get('/assets/download/:id', (req, res) => { if (!err) { log.info('Deleted:', id); } + }).catch(err => { + log.info('DeleteError:', id); }); });