Skip to content

Commit

Permalink
feat: include link to github issue for common error
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickJS committed May 6, 2024
1 parent b1e86e7 commit 08d0137
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/qwik-city/runtime/src/qwik-city-component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ export const QwikCityProvider = component$<QwikCityProps>((props) => {
useStyles$(`:root{view-transition-name:none}`);
const env = useQwikCityEnv();
if (!env?.params) {
throw new Error(`Missing Qwik City Env Data`);
throw new Error(
`Missing Qwik City Env Data for help visit https://github.com/QwikDev/qwik/issues/6237`
);
}

const urlEnv = useServerData<string>('url');
Expand Down

0 comments on commit 08d0137

Please sign in to comment.