Fix error logging
This commit is contained in:
parent
709756b8e1
commit
ad0997adfb
21 changed files with 49 additions and 49 deletions
|
@ -17,7 +17,7 @@ function retryTransactionWrapper (functionToRetry: (... args) => Promise<any>, o
|
|||
)
|
||||
.catch(err => {
|
||||
// Do not throw the error, continue the process
|
||||
logger.error(options.errorMessage, { error: err })
|
||||
logger.error(options.errorMessage, err)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue