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 packages/email/src/resend/subscribe.ts

Steven Tey2bc66da84e1f
diff --git a/packages/email/src/resend/subscribe.ts b/packages/email/src/resend/subscribe.ts
index 8f54b73690..d06320198b 100644
--- a/packages/email/src/resend/subscribe.ts
+++ b/packages/email/src/resend/subscribe.ts
@@ -10,7 +10,7 @@ export async function subscribe({
audience?: keyof typeof RESEND_AUDIENCES;
}) {
if (!resend) {
- console.error("RESEND_API_KEY is not set in the .env. Skipping.");
+ console.error("Resend client is not initialized. This may be due to a missing or invalid RESEND_API_KEY in the .env file. Skipping.");
return;
}