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.

Silence Playwright CI logs and drop payment-methods error logging.

Kiran K4cfdfa42dfb5
diff --git a/.github/workflows/playwright.yaml b/.github/workflows/playwright.yaml
index 35507d6c0a..bdde5b2763 100644
--- a/.github/workflows/playwright.yaml
+++ b/.github/workflows/playwright.yaml
@@ -21,6 +21,8 @@ jobs:
env:
CI: "true"
NODE_OPTIONS: "--max-old-space-size=8192"
+ DOTENV_FLOW_SILENT: "true"
+ RUNTIME_CACHE_DISABLE_BUILD_CACHE: "true"
DATABASE_URL: "mysql://root:@localhost:3306/planetscale"
PLANETSCALE_DATABASE_URL: "http://root:unused@localhost:3900/planetscale"
diff --git a/apps/web/app/api/workspaces/[idOrSlug]/billing/payment-methods/route.ts b/apps/web/app/api/workspaces/[idOrSlug]/billing/payment-methods/route.ts
index 5f94290da0..381e6ac282 100644
--- a/apps/web/app/api/workspaces/[idOrSlug]/billing/payment-methods/route.ts
+++ b/apps/web/app/api/workspaces/[idOrSlug]/billing/payment-methods/route.ts
@@ -86,7 +86,6 @@ export const GET = withWorkspace(
defaultPaymentMethodId,
});
} catch (error) {
- console.error(error);
return NextResponse.json({
paymentMethods: [],
defaultPaymentMethodId: null,