You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
There is more information available on ex then console.error emits to the console.
Changing it to something like this:
console.error('Exception caught during observer callback: ',ex.stack||ex);
Gives a lot more useful information, on Chrome at least.
I didn't make a pull request because I didn't do any due diligence other than throw that change into my local checkout. I don't know what this does on any other browser, e.g., and I suspect Arv knows a lot about this topic.
@arv: btw, SD Polyfill has a similar issue where it rethrows a squelched error which loses the stack information. It could use the same treatment.
The text was updated successfully, but these errors were encountered:
https://github.com/Polymer/observe-js/blob/master/src/observe.js#L367
There is more information available on
ex
thenconsole.error
emits to the console.Changing it to something like this:
Gives a lot more useful information, on Chrome at least.
I didn't make a pull request because I didn't do any due diligence other than throw that change into my local checkout. I don't know what this does on any other browser, e.g., and I suspect Arv knows a lot about this topic.
@arv: btw, SD Polyfill has a similar issue where it rethrows a squelched error which loses the stack information. It could use the same treatment.
The text was updated successfully, but these errors were encountered: