mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
10 lines
254 B
JavaScript
10 lines
254 B
JavaScript
export function init() {
|
|
process.on('uncaughtException', err => {
|
|
console.error('[catcher] Uncaught exception:', err.stack);
|
|
});
|
|
|
|
process.on('unhandledRejection', err => {
|
|
console.error('[catcher] Unhandled rejection:', err.stack);
|
|
});
|
|
}
|