We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b12c1c0 commit 79ec08cCopy full SHA for 79ec08c
server/utils/mail.ts
@@ -3,7 +3,7 @@ import mg from 'nodemailer-mailgun-transport';
3
import { RenderedMailerData } from '../types/email';
4
5
if (!process.env.MAILGUN_KEY) {
6
- console.warn("Mailgun key missing - email features disabled");
+ throw new Error('Mailgun key missing');
7
}
8
9
const auth = {
0 commit comments