15 lines
451 B
JavaScript
15 lines
451 B
JavaScript
require("./Source/index");
|
|
|
|
process.on('unhandledRejection',(reason, promise)=>{
|
|
console.log("Process unhandledRejection",{reason, promise})
|
|
});
|
|
process.on('rejectionHandled',(promise)=>{
|
|
console.log("Process rejectionHandled",{promise})
|
|
});
|
|
process.on('multipleResolves',(type, promise, value)=>{
|
|
console.log("Process multipleResolves",{type, promise, value})
|
|
});
|
|
process.on('warning',(err)=>{
|
|
console.log("Process warning", err)
|
|
});
|