fix(ssr): return empty string on SSR failure instead of throwing to prevent undefined response
This commit is contained in:
+1
-1
@@ -80,6 +80,6 @@ createServer(page =>
|
|||||||
},
|
},
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
logSsrError(error);
|
logSsrError(error);
|
||||||
throw error;
|
return '';
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
Reference in New Issue
Block a user