File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -84,13 +84,15 @@ export default function initializeApp(
8484 app . use ( errorLogger ) ;
8585 app . use ( errorHandler ) ;
8686
87- process . on ( 'uncaughtException' , ( err ) => {
87+ process . on ( 'uncaughtException' , ( error ) => {
8888 logger . error (
8989 '[UNCAUGHT EXCEPTION]:' ,
90- util . inspect ( err , { depth : null , colors : true } )
90+ util . inspect ( error , { depth : null , colors : true } )
9191 ) ;
92+ console . error ( error ) ;
93+
9294 if ( ENV . SENTRY_DSN_BACKEND ) {
93- Sentry . captureException ( err ) ;
95+ Sentry . captureException ( error ) ;
9496 }
9597 } ) ;
9698
Original file line number Diff line number Diff line change 44 "description" : " leadminer" ,
55 "private" : true ,
66 "scripts" : {
7- "install-deps" : " npm i && npm run install-deps:backend && npm run install-deps:frontend" ,
8- "install-deps:backend" : " npm i --prefix ./backend" ,
7+ "install-deps" : " npm i && npm run install-deps:backend && npm run install-deps:frontend && npm run install-deps:micro-services-emails-fetcher" ,
98 "install-deps:frontend" : " npm i --prefix ./frontend" ,
9+ "install-deps:backend" : " npm i --prefix ./backend" ,
10+ "install-deps:micro-services-emails-fetcher" : " npm i --prefix ./micro-services/emails-fetcher" ,
1011 "dev:all" : " ./run.sh" ,
1112 "dev:generate-env" : " bash ./generate_env.sh" ,
1213 "dev:supabase" : " supabase start" ,
You can’t perform that action at this time.
0 commit comments