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

Fix problem with errors not throwing the error callback in windows. #52

Closed
wants to merge 1 commit into from
Closed

Conversation

Eeems
Copy link
Contributor

@Eeems Eeems commented Dec 5, 2015

On windows when attempting to open pdf files Windows.System.Launcher.launchFileAsync() is throwing the following error: "The parameter is incorrect"
This error is not running the callback error due to not being caught by the promise handler. Adding a try/catch will solve this and at least allow the error to bubble up to the users code and allow them to debug it easier.
Should at least help with #51 but not fix it.

@shnist
Copy link
Collaborator

shnist commented Dec 11, 2018

hi @Eeems, thanks very much for your contribution to this project. I appreciate that you raised this PR over 3 years ago and no one responded to it. Apologies for that. If you're still interested in getting this PR merged let me know and we can work together to make it happen.

@Eeems
Copy link
Contributor Author

Eeems commented Dec 11, 2018

@shnist I am no longer using cordova, but I can fix up the merge conflicts so that the PR is valid again.

@Eeems
Copy link
Contributor Author

Eeems commented Dec 11, 2018

@shnist I had to create a new PR due to the fork that this PR originated from no longer existing. See #235

@Eeems Eeems closed this Dec 11, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants