fix(ssr): return empty string on SSR failure instead of throwing to prevent undefined response

This commit is contained in:
F4ilji
2026-07-06 18:30:26 +05:00
parent 778ea67cb4
commit 5fddb97cbf
+1 -1
View File
@@ -80,6 +80,6 @@ createServer(page =>
}, },
}).catch(error => { }).catch(error => {
logSsrError(error); logSsrError(error);
throw error; return '';
}) })
); );