mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 15:35:22 +02:00
fix: made uncaughtException arrow function like others
This commit is contained in:
parent
447f5983fe
commit
ca016d230d
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import app from './app/app'
|
|||
import logger from './app/lib/logger'
|
||||
import * as Sentry from '@sentry/node'
|
||||
|
||||
process.on('uncaughtException', function (error) {
|
||||
process.on('uncaughtException', (error) => {
|
||||
Sentry.captureException(error)
|
||||
logger.error('server: uncaught exception', error)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue