Closed rigor789 closed 11 months ago
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:
After:
This should greatly help debug errors like these:
Example of terminal output from throwing a dummy exception in the activity callbacks: (left is current, right is with this PR)
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](https://github.com/NativeScript/android/assets/879060/9e1b151d-9572-4930-9f5c-8fd3ab53237a)
After:![image](https://github.com/NativeScript/android/assets/879060/30584609-815d-49b7-a0bf-31dff0adfbb2)
This should greatly help debug errors like these: