mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-08 11:04:15 +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) => {
|
||||
console.log(`UnhandledRejection occured 'reason'`);
|
||||
console.log(`UnhandledRejection occured '${reason}'`);
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user