-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sidecar swallows errors #309
Comments
How is this conclusion verified? |
I forgot to declare a variable in our generateBindables decorator, and I didn't get an error. After disabling sidecar the error became visible, and after enabling sidecar the error disappeared again. |
This means a bug in Conclusion: get rid of side-car - the sooner, the better. Otherwise we could have a nightmare tracing down bugs reported by bridge users. |
Actually, this bug is only swallowing errors in our sample app, the plugin users should be fine. I only created this issue so that it can be investigated further, so I still have hope |
I believe that you knew that I know that, right :-) |
Just thinking.. These are all unresolved promise rejections, right? Bluebird has a feature which can catch these globally (at least they say so). I'm not sure but sidecar may use bluebird. Their master branch has bluebird commented but what if the dist version still has it in? There certainly is a part of sidecar which doesn't run in an iframe. That is at least the part which creates that iframe and attaches it onto a container element. Now if that part happens to catch promise rejections... |
Hmm, in the Gitter sidecar source code I see they use which has an issue with not throwing unhandled exceptions |
You're right.. I had too many "if"s in my thoughts anyway. Bluebird being commented doesn't necessarily mean anything. There are a lot of "swallowing" issues mentioned in the issue you linked. |
removed gitter sidecar in 9f80976 |
Like @Thanood suggested, sidecar is the cause of some errors being swalled in the sample app.
The text was updated successfully, but these errors were encountered: