Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix re-throwing errors to V8 #524

Merged
merged 2 commits into from
Aug 2, 2016
Merged

Fix re-throwing errors to V8 #524

merged 2 commits into from
Aug 2, 2016

Conversation

atanasovg
Copy link
Contributor

This pull does:

  • Modify the NativeScriptException.OnUncaughtError method re-throw to Java instead of simply swallowing the original exception.
  • Pass the complete error message when re-throwing from V8

@atanasovg
Copy link
Contributor Author

Ping @NativeScript/android-runtime

@ns-bot
Copy link

ns-bot commented Aug 1, 2016

💚

@@ -23,6 +23,7 @@
#include "V8NativeScriptExtension.h"
#include "Runtime.h"
#include "ArrayHelper.h"
#include "include/v8.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary line

@Plamen5kov
Copy link
Contributor

👍

@ns-bot
Copy link

ns-bot commented Aug 2, 2016

💚

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

Successfully merging this pull request may close these issues.

3 participants