Fix error logging

This commit is contained in:
Chocobozzz 2017-07-07 18:26:12 +02:00
parent 709756b8e1
commit ad0997adfb
21 changed files with 49 additions and 49 deletions

View file

@ -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)
})
}