fix blockcypher bug
This commit is contained in:
parent
86955da2ad
commit
18a702dbf8
3 changed files with 7 additions and 11 deletions
|
|
@ -197,7 +197,7 @@ function errorHandler (err, req, res, next) {
|
|||
|
||||
const json = {error: err.message}
|
||||
|
||||
logger.error(err)
|
||||
if (statusCode >= 400) logger.error(err)
|
||||
|
||||
return res.status(statusCode).json(json)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue