fix(core): update Slack notification formatting to use bold correctly
This commit is contained in:
@@ -101,11 +101,11 @@ class TaskFailed extends CustomEmailNotification
|
||||
$description = "Scheduled task ({$this->task->name}) failed.";
|
||||
|
||||
if ($this->output) {
|
||||
$description .= "\n\n**Error Output:**\n{$this->output}";
|
||||
$description .= "\n\n*Error Output:* {$this->output}";
|
||||
}
|
||||
|
||||
if ($this->url) {
|
||||
$description .= "\n\n**Task URL:** {$this->url}";
|
||||
$description .= "\n\n*Task URL:* {$this->url}";
|
||||
}
|
||||
|
||||
return new SlackMessage(
|
||||
|
||||
@@ -96,7 +96,7 @@ class TaskSuccess extends CustomEmailNotification
|
||||
$description = "Scheduled task ({$this->task->name}) succeeded.";
|
||||
|
||||
if ($this->url) {
|
||||
$description .= "\n\n**Task URL:** {$this->url}";
|
||||
$description .= "\n\n*Task URL:* {$this->url}";
|
||||
}
|
||||
|
||||
return new SlackMessage(
|
||||
|
||||
Reference in New Issue
Block a user