Files
server-scripts/haven-notify/template/error.tmpl
Jose Henrique b1cdf15cc8
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
adding test containers
2026-07-16 09:14:51 -03:00

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 ✨"
}
}
]
}