mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +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);
|
|
});
|
|
}
|