mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-03 07:50:50 +00:00
Fix UnhandledRejection handle message
This commit is contained in:
parent
cdadbd9140
commit
85a5ece8ae
@ -215,7 +215,7 @@ if (require.main === module) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
process.on('unhandledRejection', (reason, promise) => {
|
process.on('unhandledRejection', (reason, promise) => {
|
||||||
console.log(`UnhandledRejection occured 'reason'`);
|
console.log(`UnhandledRejection occured '${reason}'`);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user