Skip to content

Conversation

rigor789
Copy link
Member

@rigor789 rigor789 commented Jul 12, 2023

Unwrap and print stack traces from RuntimeException that are caused by a NativeScriptException.
This now properly shows the JS stack trace in the exception for easier debugging.

Before:
image

After:
image

This should greatly help debug errors like these:

@cla-bot cla-bot bot added the cla: yes label Jul 12, 2023
@rigor789
Copy link
Member Author

Example of terminal output from throwing a dummy exception in the activity callbacks:
(left is current, right is with this PR)

image

@rigor789 rigor789 merged commit 52b7fa2 into main Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants