1
0
Fork 0
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:
Pawani 2024-01-14 09:40:44 +05:30
parent 447f5983fe
commit ca016d230d

View file

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