mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-26 22:46:26 +00:00
fix: unhandledRejection (#9472)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
parent
10e5119f80
commit
1914c187a6
1 changed files with 6 additions and 0 deletions
|
@ -1,8 +1,14 @@
|
||||||
#!/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
|
||||||
|
|
Loading…
Reference in a new issue