mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
7adf8591c1
* Almost working * First working implementation * Simplified analytics utils * Fix tests
10 lines
255 B
JavaScript
10 lines
255 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);
|
|
});
|
|
}
|