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
You can access error messages from the frontend but only in development environment, is this correct? Because that is my problem. Did you find a solution?
Based on this message, I started trying using data for the error message which initially didn't work, but then I accidentally found something which does work. I send the error from backend like:
Environment
Node v18.18.2
Nuxt v3.11.2
Mittwald Hosting (German Hosting Provider)
Reproduction
It only happens on the external hosting service therefor I cannot provide a reproduction ...
Everywhere else I tested it worked fine.
Describe the bug
e.message
does not include thestatusMessage
fromcreateError
Serverside
(I also tried with statusMessage, but jsDocs states statusText is current)
Clientside (Nuxt)
On every other env the message is shown correctly with "Title already exists.".
Not on Mittwald.
Though the response shows the statusMessage.
Is it somehow possible to get to the raw error object, shown in the Response panel?
It's not existing in the error object
console.log(e)
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: