Some checks failed
Check scripts syntax / check-scripts-syntax (push) Successful in 3s
Test automated-nfs-backup / test-automated-nfs-backup (push) Successful in 4s
Haven Notify Build and Deploy / Build Haven Notify Image (pull_request) Has been cancelled
Haven Notify Build and Deploy / Build Haven Notify Image (PR) (pull_request) Has been cancelled
Haven Notify Build and Deploy / Deploy Haven Notify (internal) (pull_request) Has been cancelled
Haven Notify Build and Deploy / Test Haven Notify (pull_request) Has been cancelled
27 lines
576 B
Cheetah
27 lines
576 B
Cheetah
{
|
|
"embeds": [
|
|
{
|
|
"title": "❌ Error",
|
|
"description": {{json (printf "**%s** encountered an error!" .Caller)}},
|
|
"color": {{if .Critical}}15158332{{else}}15844367{{end}},
|
|
"fields": [
|
|
{
|
|
"name": "📄 Message",
|
|
"value": {{json .Message}},
|
|
"inline": false
|
|
}
|
|
{{- range .Extra}},
|
|
{
|
|
"name": {{json .Name}},
|
|
"value": {{json .Value}},
|
|
"inline": true
|
|
}
|
|
{{- end}}
|
|
],
|
|
"footer": {
|
|
"text": "✨ Haven Notify ✨"
|
|
}
|
|
}
|
|
]
|
|
}
|