Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

process.unhandleRejection event never be fired #8066

Open
dijiang opened this issue May 11, 2023 · 0 comments
Open

process.unhandleRejection event never be fired #8066

dijiang opened this issue May 11, 2023 · 0 comments

Comments

@dijiang
Copy link

dijiang commented May 11, 2023

Current/Missing Behavior

process.on("unhandledRejection", (e)=> {

console.log("11", e)

})

Promise.reject("abc")

image

Expected/Proposed Behavior

while nodejs output is

11 abc

Additional Info

  • Operating System: windows 10
  • NW.js Version: v0.70.1 (any version actually)

the same issue on electron:
electron/electron#24579

electron/electron#24577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant