diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/runtime.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime.ts b/src/runtime.ts index d7f63183c..66a0657cf 100644 --- a/src/runtime.ts +++ b/src/runtime.ts @@ -59,7 +59,7 @@ async function load(config: RuntimeConfig, rawPathname: string | undefined): Pro if (searchResult.statusCode === 404) { try { const result = await frontendSnowpack.loadUrl(reqPath); - + if (!result) throw new Error(`Unable to load ${reqPath}`); // success return { statusCode: 200, |