Skip to content
Snippets Groups Projects
Unverified Commit 1914c187 authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

fix: unhandledRejection (#9472)

parent 10e5119f
No related merge requests found
#!/usr/bin/env node #!/usr/bin/env node
import { logger } from './logger';
import * as proxy from './proxy'; import * as proxy from './proxy';
import * as globalWorker from './workers/global'; import * as globalWorker from './workers/global';
// istanbul ignore next
process.on('unhandledRejection', (err) => {
logger.error({ err }, 'unhandledRejection');
});
proxy.bootstrap(); proxy.bootstrap();
// eslint-disable-next-line @typescript-eslint/no-floating-promises // eslint-disable-next-line @typescript-eslint/no-floating-promises
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment