I'm trying to implement Promise-returning API for electron, and I have an 
issue where in case operation fails, rejection not being called.
It works perfectly fine in success case.
In case of failure, app just hangs there, but if you hit Ctrl+C, it prints 
the message and exits.

Is there anything additional needs to be done for rejection to work? I 
thought this should work mostly symmetrical with resolution case.


https://github.com/YurySolovyov/electron/blob/move-to-trash-task-runner/atom/common/api/atom_api_shell.cc#L90-L96

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to