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
Put simply, error management could be further improved.
Description
As it works now, error management is pretty minimal. In most cases, errors that make it to the client get suppressed and replaced with a generic error message; often times, this message communicates nothing anything useful to neither the user nor does it log anything useful for the developers. It is also as likely to be incorrect/misleading, e.g. turning a 500 error into a 400 error.
Improvements
better logging
Refine what gets passed as to queryClient and, consequently, the toaster pop-up
Leverage Zod's error facilities to improve the errors generated by validators
The text was updated successfully, but these errors were encountered:
Summary
Put simply, error management could be further improved.
Description
As it works now, error management is pretty minimal. In most cases, errors that make it to the client get suppressed and replaced with a generic error message; often times, this message communicates nothing anything useful to neither the user nor does it log anything useful for the developers. It is also as likely to be incorrect/misleading, e.g. turning a 500 error into a 400 error.
Improvements
queryClient
and, consequently, the toaster pop-upThe text was updated successfully, but these errors were encountered: