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.

Update utils.ts

Kiran K395f0674cd80
diff --git a/apps/web/lib/api/utils.ts b/apps/web/lib/api/utils.ts
index c5cb1ebb5a..63973cb2e0 100644
--- a/apps/web/lib/api/utils.ts
+++ b/apps/web/lib/api/utils.ts
@@ -9,6 +9,7 @@ export const parseRequestBody = async (req: Request) => {
try {
return await req.json();
} catch (e) {
+ console.error(e);
throw new DubApiError({
code: "bad_request",
message: