Skip to content

Commit 3dccad5

Browse files
committed
Added unhandledRejection event.
1 parent b1abd4e commit 3dccad5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16135,6 +16135,10 @@ function $decodeURIComponent(value) {
1613516135

1613616136
global.Controller = Controller;
1613716137

16138+
process.on('unhandledRejection', function(e) {
16139+
F.error(e, '', null);
16140+
});
16141+
1613816142
process.on('uncaughtException', function(e) {
1613916143

1614016144
var err = e.toString();

0 commit comments

Comments
 (0)