feat: 后端初始化2

This commit is contained in:
2026-07-28 15:43:27 +08:00
parent dfe0d6bd95
commit 53305757f8
26 changed files with 734 additions and 36 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export const withErrorBoundary = (handler: FunctionHandler): FunctionHandler =>
return await handler(request, context)
} catch (error) {
console.error(error)
return fail('Internal server error', 500, 'INTERNAL_SERVER_ERROR')
return fail('服务异常,请稍后再试', 500, 'INTERNAL_SERVER_ERROR')
}
}
}