-
Notifications
You must be signed in to change notification settings - Fork 75
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
Error reporting bugged #12
Comments
I'm seeing the same error, but in my case the subscription query is correct and there's no error on the backend. |
This issue will be fixed on the next release that will be released on March, meanwhile I will paste below a stacktrace taken from this error on a release with sourcemaps:
|
I have a similar problem |
Any word on that March release? |
Hi everyone, The new version should be released soon, unfortunately the past 2 months I haven't had enough time to move forward with it as we are in the last phase of the product for the company I work for and support my time on absinthe. I will be able to proceed with the release once we ship the product, and this should be in the next month or so. My apologies to everyone. |
Does this error prevent apollo's subscriptions from working? |
What can I do to fix this? Happy to make a PR |
Any updates on this? I'm running into this issue, that seems to be triggered when called resetStore on my Apollo client. |
@mgtitimoli Is there any update on this? I'm seeing this error frequently as well |
I can confirm that the patch in PR #26 does fix the issue over here! Thank you @mpoeter and @rjacobskind for this! The problem in my case was, that the I had a missing subscription field and this "error" mentioned here shadowed the real issue obviously. After fixing this, #29 (might be fixed by #20) could go a long way to have some more helpful error messages. I hope some fix for these problem will be released soon as a proper error reporting (in order to know what actually went wrong easily) seems vital for this project. |
I'm using apollo on the frontend and absinthe on the backend. I experienced an issue where I was submitting a mutation to the backend but it would not go through. I'd get a totally different unrelated error like:
Turns out the actual error in the backend was that the input was incorrect (a required argument was not provided). This error was not reported because I was getting
Uncaught TypeError: Cannot read property '_observer' of undefined
instead. That undefined error is the one being reported becausesubscription
is undefined in the below code:This happens before the actual error value is thrown.
We do not use
zen-observable
directly in our project and is only a dependency ofsocket-apollo-link
.The text was updated successfully, but these errors were encountered: