We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// backend/entrypoint.ts import { HTTPError } from "uix/html/http-error.ts"; export default { '/error': () => { throw new Error(); }, '/status': () => new HTTPError(404) };
// frontend/entrypoint.ts export default { '*': "Nope" }
When visiting backend routes that throw (whether it is HTTPError or Runtime error), the frontend *-wildcard matcher is loaded.
*
We'd expect to see the thrown error and abort the route resolval when an error is thrown as it would be in common program flows.
As discussed in Weekly 08/10/24
The text was updated successfully, but these errors were encountered:
jonasstrehle
benStre
No branches or pull requests
🕗 Version & Regression Information
💻 Code
🙁 Actual behavior
When visiting backend routes that throw (whether it is HTTPError or Runtime error), the frontend
*
-wildcard matcher is loaded.🙂 Expected behavior
We'd expect to see the thrown error and abort the route resolval when an error is thrown as it would be in common program flows.
Additional information about the issue
As discussed in Weekly 08/10/24
The text was updated successfully, but these errors were encountered: