Fix error logging
This commit is contained in:
parent
0dcf9a14be
commit
d5b7d9110d
24 changed files with 57 additions and 41 deletions
|
@ -16,7 +16,7 @@ function retryTransactionWrapper <T> (
|
|||
.catch(err => callback(err))
|
||||
})
|
||||
.catch(err => {
|
||||
logger.error(options.errorMessage, err)
|
||||
logger.error(options.errorMessage, { err })
|
||||
throw err
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue