diff --git a/packages/server/src/ssr.ts b/packages/server/src/ssr.ts index 9dde45b617fa..13d62f7b4b94 100644 --- a/packages/server/src/ssr.ts +++ b/packages/server/src/ssr.ts @@ -245,7 +245,7 @@ export function createUmiHandler( const jsx = await jsxGeneratorDeferrer(new URL(req.url).pathname); if (!jsx) { - reject(new Error('找不到资源')); + reject(new Error('no page resource')); return; }