Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
🔧 Update log type to error
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Sep 30, 2019
1 parent 31053d5 commit eddad77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "staart-manager",
"version": "1.1.31",
"version": "1.1.32",
"main": "index.js",
"repository": "[email protected]:AnandChowdhary/staart.git",
"author": "Anand Chowdhary <[email protected]>",
Expand Down Expand Up @@ -145,5 +145,5 @@
"setup"
],
"snyk": true,
"staart-version": "1.1.31"
"staart-version": "1.1.32"
}
4 changes: 3 additions & 1 deletion src/helpers/mail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,6 @@ sendMail({
message: "This is an example email to test your Staart email configuration."
})
.then(() => {})
.catch(() => logError("Invalid email config", "Could not send a test email"));
.catch(() =>
logError("Invalid email config", "Could not send a test email", 1)
);

0 comments on commit eddad77

Please sign in to comment.