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.

switch channels

Steven Tey77a504c6a1d4
diff --git a/apps/web/app/(ee)/api/cron/messages/notify-partner/route.ts b/apps/web/app/(ee)/api/cron/messages/notify-partner/route.ts
index d7eb2191b5..1b2cb5cb4d 100644
--- a/apps/web/app/(ee)/api/cron/messages/notify-partner/route.ts
+++ b/apps/web/app/(ee)/api/cron/messages/notify-partner/route.ts
@@ -168,7 +168,7 @@ export async function POST(req: Request) {
} catch (error) {
await log({
message: `Error notifying partner of new messages: ${error.message}`,
- type: "alerts",
+ type: "errors",
});
return handleAndReturnErrorResponse(error);
diff --git a/apps/web/app/(ee)/api/cron/messages/notify-program/route.ts b/apps/web/app/(ee)/api/cron/messages/notify-program/route.ts
index b862b30e10..dd9297844a 100644
--- a/apps/web/app/(ee)/api/cron/messages/notify-program/route.ts
+++ b/apps/web/app/(ee)/api/cron/messages/notify-program/route.ts
@@ -165,7 +165,7 @@ export async function POST(req: Request) {
} catch (error) {
await log({
message: `Error notifying program users of new messages: ${error.message}`,
- type: "alerts",
+ type: "errors",
});
return handleAndReturnErrorResponse(error);
diff --git a/apps/web/app/(ee)/api/cron/streams/update-click-stats/route.ts b/apps/web/app/(ee)/api/cron/streams/update-click-stats/route.ts
index 46588bf01c..96eeb1c8df 100644
--- a/apps/web/app/(ee)/api/cron/streams/update-click-stats/route.ts
+++ b/apps/web/app/(ee)/api/cron/streams/update-click-stats/route.ts
@@ -312,7 +312,7 @@ const maybeAlertOnBacklog = async (streamInfo: {
await log({
message: `Click stats stream backlog alert: length=${streamInfo.length}, oldestAgeMs=${ageMs ?? "unknown"}, firstEntryId=${streamInfo.firstEntryId ?? "none"}`,
- type: "alerts",
+ type: "errors",
});
};