Remove redundant try catch
All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m37s
All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m37s
This commit is contained in:
@@ -42,15 +42,11 @@ Mobile: ${formatEmptyString(mobile)}
|
|||||||
Message:
|
Message:
|
||||||
${message}`,
|
${message}`,
|
||||||
});
|
});
|
||||||
try {
|
|
||||||
const cfMessage = new EmailMessage(
|
const cfMessage = new EmailMessage(
|
||||||
"contact@michaelpivato.dev",
|
"contact@michaelpivato.dev",
|
||||||
"contact@michaelpivato.dev",
|
"contact@michaelpivato.dev",
|
||||||
msg.asRaw()
|
msg.asRaw()
|
||||||
);
|
);
|
||||||
this.ctx.waitUntil(this.env.SEB.send(cfMessage));
|
this.ctx.waitUntil(this.env.SEB.send(cfMessage));
|
||||||
} catch (e) {
|
|
||||||
throw e;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user