]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/database-utils.ts
Better typescript typing for a better world
[github/Chocobozzz/PeerTube.git] / server / helpers / database-utils.ts
index f761cfb89813b928e9c671214b89530eef1e0a37..e174dc3e960594ee7e6e2412ec09b5f6d9f9bd02 100644 (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)
   })
 }