debug: console log when email sending failed
All checks were successful
Build & Deploy (prod) / deploy (push) Successful in 34s

This commit is contained in:
Raul Lugo
2026-04-22 11:57:46 +02:00
parent 71b15b737b
commit f7c573d08b

View File

@@ -159,6 +159,7 @@ export const POST: APIRoute = async ({ request, clientAddress }) => {
| undefined; | undefined;
if (!resendApiKey || !contactToEmail || !contactFromEmail) { if (!resendApiKey || !contactToEmail || !contactFromEmail) {
console.log(resendApiKey, contactToEmail, contactFromEmail);
return respondJson(501, { return respondJson(501, {
ok: false, ok: false,
error: { error: {