Skip to content

Commit

Permalink
Dump logs contact.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pheeria authored Mar 19, 2024
1 parent 5d5eea5 commit 2a31969
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ router
if (req.body && req.body.verification && req.body.verification === "send")
transporter.sendMail(mailOptions, (error) => {
if (error) {
console.log(error);
console.log("Failed contact form attempt: ");
console.log(mailOptions);
res.redirect("contact");
Expand Down

0 comments on commit 2a31969

Please sign in to comment.