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.

change console.error → console.log

Steven Teya28bd9a8c979
diff --git a/apps/web/app/(ee)/api/stripe/integration/webhook/utils.ts b/apps/web/app/(ee)/api/stripe/integration/webhook/utils.ts
index 0fa7c17d45..631420bf7c 100644
--- a/apps/web/app/(ee)/api/stripe/integration/webhook/utils.ts
+++ b/apps/web/app/(ee)/api/stripe/integration/webhook/utils.ts
@@ -182,8 +182,8 @@ export async function updateCustomerWithStripeCustomerId({
},
});
} catch (error) {
- // Skip if customer not found
- console.error("Failed to update customer with StripeCustomerId:", error);
+ // Skip if customer not found (not an error, just a case where the customer doesn't exist on Dub yet)
+ console.log("Failed to update customer with StripeCustomerId:", error);
return null;
}
}