We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e81b0aa commit 4ac13ffCopy full SHA for 4ac13ff
packages/docs/src/routes/demo/qwikcity/middleware/layout.tsx
@@ -5,7 +5,7 @@ export const onRequest: RequestHandler = async ({ next }) => {
5
await next();
6
} catch (error: any) {
7
if (error?.message === 'ERROR: Demonstration of an error response.') {
8
- return await next();
+ throw error;
9
} else if (
10
error &&
11
typeof error === 'object' &&
0 commit comments