improve error logging
This commit is contained in:
@@ -163,8 +163,8 @@ module.exports = {
|
||||
}))
|
||||
}
|
||||
} catch (e) {
|
||||
log.error(e)
|
||||
res.status(400).json(e.toString)
|
||||
log.error('[Import URL]', e)
|
||||
res.status(400).json(e.toString())
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user