Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Promises resolving to an error #44

Open
queesamor opened this issue Oct 29, 2018 · 0 comments
Open

Promises resolving to an error #44

queesamor opened this issue Oct 29, 2018 · 0 comments

Comments

@queesamor
Copy link

I am trying to handle errors generated when calling someRendererJS.remoteFunctionCall() with the standard promise error handler ( someRendererJS.remoteFunctionCall().then().then()......error() ), but any time I stick .error(function(e){}) into the promise flow I get told by Electron that "that function (the entire promise tree in that call) is not a valid function". Is the standard error handler not available, and if so, how can I handle promises that are rejected / result in errors?

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

No branches or pull requests

1 participant