Skip to content

Commit

Permalink
test: improve logging in notification script for better debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dlachaume committed Jan 31, 2025
1 parent 4a79291 commit 5ea3289
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/scripts/notify-nightly-failure.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ const msg = {

sgMail
.send(msg)
.then(() => console.log("Mail sent successfully"))
.catch((error) => console.error(error.toString()));
.then(() => {
console.log("Mail sent successfully");
console.log("Message details:", msg);
})
.catch((error) => console.error("Error sending email:", error));

0 comments on commit 5ea3289

Please sign in to comment.