walmartlabs / thorax

Strengthening your Backbone
http://thoraxjs.org/
Other
1.32k stars 129 forks source link

Don’t catch errors unless `onException` is defined #392

Closed jacobsvante closed 9 years ago

jacobsvante commented 9 years ago

The default action of catching a thrown exception in bindSection causes Chrome’s Developer Tools to lose the original stack trace in its “Pause on exception” state.

kpdecker commented 9 years ago

I like the general direction of this.

jacobsvante commented 9 years ago

Fixed what you commented on!

kpdecker commented 9 years ago

Thanks!