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 with-cron.ts

Kiran K9cbd3b5527d7
diff --git a/apps/web/lib/cron/with-cron.ts b/apps/web/lib/cron/with-cron.ts
index f63941abc2..5e5c43697c 100644
--- a/apps/web/lib/cron/with-cron.ts
+++ b/apps/web/lib/cron/with-cron.ts
@@ -65,7 +65,7 @@ export const withCron = (handler: WithCronHandler) => {
await log({
message: `Cron job "${url.pathname}" failed during execution. Error: ${errorMessage}`,
- type: "cron",
+ type: "errors",
});
return logAndRespond(errorMessage, { status: 500 });