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
does not give a warning after form submission when an error is thrown in the load (using the kit version throw error(500, error)) but just refreshes the whole page and omits the error. It would be nice if the error was shown to be able to debug the application.
Describe the proposed solution
Add a log statement that is visible in dev and prints error.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered:
By the nature of the solution (reloading the page) there isn't really a good place to print an error, since it will immediately vanish when the page reloads. I'm not sure what the right fix is — perhaps adding a debugger statement to prevent the reload?
Describe the problem
Currently, the code in
kit/packages/kit/src/runtime/client/client.js
Line 903 in 7c8dbf3
throw error(500, error)
) but just refreshes the whole page and omits the error. It would be nice if the error was shown to be able to debug the application.Describe the proposed solution
Add a log statement that is visible in dev and prints error.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: