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
Currently we're logging the entire error instance in our files, which is very verbose, and could be discomforting to work with, we only need the error.message for most development purposes.
Expected behavior
a simple error message should tell us what went wrong with our mutations and queries:
Solution
Change console.log(error) to console.log(error.message)
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently we're logging the entire error instance in our files, which is very verbose, and could be discomforting to work with, we only need the
error.message
for most development purposes.Expected behavior
a simple error message should tell us what went wrong with our mutations and queries:
Solution
Change
console.log(error)
toconsole.log(error.message)
The text was updated successfully, but these errors were encountered: