Starcounter / DevTools

A browser extension that helps you debug Starcounter apps with ease
3 stars 1 forks source link

Log http requests with error #22

Closed miyconst closed 9 years ago

miyconst commented 9 years ago

One thing that I noticed today is that it does not show HTTP 500 error in GoogleSignIn app. It would be good to show errors as well.

miyconst commented 9 years ago

To avoid lots of changes inside PuppetJs.handleRemoteChange method I have added PuppetJs.handleRemoteError method which is passed to PuppetNetworkChannel as onError parameter.

https://github.com/PuppetJs/PuppetJs/commit/4ea0c3531e3c3ef0d68692f7b01aa43863940f08