An AI-powered search engine with a generative UI
TypeScript generative-aigenerative-uinextjsollamareactsearxngshadcn-uitailwindcsstavilytypescriptupstashvercel-ai-sdk
fix: remove process.exit(1) from database verification in development
Yoshiki Miura11a02517cc9c
diff --git a/lib/db/index.ts b/lib/db/index.tsindex 016ebf7d..dc289de9 100644--- a/lib/db/index.ts+++ b/lib/db/index.ts@@ -83,10 +83,8 @@ if (process.env.DATABASE_RESTRICTED_URL && !isTest) {}} catch (error) {console.error('[DB] ✗ Failed to verify database connection:', error)- // Don't exit in production, just log the error- if (isDevelopment) {- process.exit(1)- }+ // Log the error but don't terminate the application+ // This allows development to continue even with connection issues}})()}