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
Expectations:
The error that is thrown in the subscribePlan should be routed to the maskError where the error can be handled/sanitized like in queries and mutations.
Reality:
The error is mishandled and throws an internal error instead. The handler is assuming originalError exists in grafast/prepare.js > output.
Why is this a bug?
An internal error is unhandled leading to the socket error.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
Here's a fork with reproduction of the subscription issue I was running into involving error handling.
Setup:
DATABASE_URL
with your ownyarn serve
(Assumes Node20)Steps:
Expectations:
The error that is thrown in the subscribePlan should be routed to the maskError where the error can be handled/sanitized like in queries and mutations.
Reality:
The error is mishandled and throws an internal error instead. The handler is assuming
originalError
exists ingrafast/prepare.js > output
.Why is this a bug?
An internal error is unhandled leading to the socket error.
Thanks!
The text was updated successfully, but these errors were encountered: