Skip to content

Commit 5ddcab0

Browse files
Updated the notification messages to say warning instead of error
1 parent efe9b51 commit 5ddcab0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

dev.sqlite3

16 KB
Binary file not shown.

services/deployment.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ const deployment = (Config = []) => {
2626
/** If an error occoured */
2727
if (stderr) {
2828
const slack = (`
29-
*Deployment for * _${Config.name}_ failed 😢 \n*Date* \`${new Date().toUTCString()}\` \n*The following error was logged:* \`\`\`${stderr.trim()}\`\`\`
29+
*Deployment for on* _${Config.name}_ \n*Date* \`${new Date().toUTCString()}\` \n*Was Completed with the following warnings logged.:* \`\`\`${stderr.trim()}\`\`\`
3030
`)
3131

3232
const mail = {
33-
subject: `Deployment for ${Config.name} failed ❌`,
33+
subject: `Deployment for ${Config.name} Complete with warnings ❌`,
3434
data: (`
35-
<h3>Deployment for ${Config.name} failed 😢 </h3>
35+
<h3>Deployment for ${Config.name} is complete </h3>
3636
<br/>
3737
<b>Date</b> <date>${new Date().toUTCString()}</date> <br/>
38-
<b>The following error was logged:</b> <code color="red">${stderr.trim()}</code>
38+
<b>The following warning was logged:</b> <code color="red">${stderr.trim()}</code>
3939
`)
4040
}
4141

0 commit comments

Comments
 (0)