NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore
http://docs.nativescript.org/runtimes/ios
Apache License 2.0
299 stars 59 forks source link

fix(runtime): Do not lose exception in TS extends #1211

Closed mbektchiev closed 5 years ago

mbektchiev commented 5 years ago

PR Checklist

What is the current behavior?

Exceptions raised during TS extends call are lost and errors are difficult to detect.

What is the new behavior?

Exceptions raised during TS extends call are correctly thrown in JS and can be processed in a catch block or unhandled exception handler, or crash with a meaningful error.