🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛 fix(oidc): surface route 500 stack to production logs (#16814)
Arvin Xuc6f31f4aa806
diff --git a/src/app/(backend)/oidc/[...oidc]/route.ts b/src/app/(backend)/oidc/[...oidc]/route.tsindex 9ce42eb5021..43430d29f23 100644--- a/src/app/(backend)/oidc/[...oidc]/route.ts+++ b/src/app/(backend)/oidc/[...oidc]/route.ts@@ -85,7 +85,10 @@ const handler = async (req: NextRequest) => {status: finalStatus,});} catch (error) {- log(`Error handling OIDC ${req.method} request: %O`, error); // Log method in error+ // Surface the real stack to production logs. A debug `log()` only writes to the+ // `lobe-oidc:route` namespace, which is disabled in production, so 500s otherwise+ // land with no application-layer error signature (monitoring blind spot).+ console.error(`[OIDC Route] Error handling ${req.method} ${requestUrl.pathname}:`, error);return new NextResponse(`Internal Server Error: ${(error as Error).message}`, { status: 500 });}};