diff --git a/packages/nitro/src/runtime/app/render.ts b/packages/nitro/src/runtime/app/render.ts index f48195d14e..0742e5d346 100644 --- a/packages/nitro/src/runtime/app/render.ts +++ b/packages/nitro/src/runtime/app/render.ts @@ -42,10 +42,7 @@ const getSPARenderer = cachedResult(async () => { function renderToString (ssrContext) { const getRenderer = (NUXT_NO_SSR || ssrContext.noSSR) ? getSPARenderer : getSSRRenderer - return getRenderer().then(renderToString => renderToString(ssrContext)).catch((err) => { - console.warn('Server Side Rendering Error:', err) - return getSPARenderer().then(renderToString => renderToString(ssrContext)) - }) + return getRenderer().then(renderToString => renderToString(ssrContext)) } export async function renderMiddleware (req, res: ServerResponse) {