Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

test error

Kiran Ka5f48042057a
diff --git a/apps/web/lib/api/errors.ts b/apps/web/lib/api/errors.ts
index 07d0ab331c..be2080e945 100644
--- a/apps/web/lib/api/errors.ts
+++ b/apps/web/lib/api/errors.ts
@@ -145,8 +145,8 @@ export function handleApiError(error: any): ErrorResponse & { status: number } {
return {
error: {
code: "internal_server_error",
- message:
- "An internal server error occurred. Please contact our support if the problem persists.",
+ message: error.message,
+ //"An internal server error occurred. Please contact our support if the problem persists.",
doc_url: `${docErrorUrl}#internal_server_error`,
},
status: 500,