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
This is type of errors I wish to catch core.mjs:6412 ERROR Error: Uncaught (in promise): Error: GraphQL Error (Code: 401):
and I don't believe adding error handling to each of the requests is the way to go, especially to catch simple 401.
Did anyone had similar issue or found a way to handle those errors without writing massive amounts of code to each of the queries ?
The text was updated successfully, but these errors were encountered:
I was looking for a way to intercept errors with https://angular.io/api/common/http/HttpInterceptor
but I failed to find any solution and wasn't able to find anything going thru source code.
This is type of errors I wish to catch
core.mjs:6412 ERROR Error: Uncaught (in promise): Error: GraphQL Error (Code: 401):
and I don't believe adding error handling to each of the requests is the way to go, especially to catch simple 401.
Did anyone had similar issue or found a way to handle those errors without writing massive amounts of code to each of the queries ?
The text was updated successfully, but these errors were encountered: