fix(xo-server-backup-reports): handle interrupted root task (#4772)
This commit is contained in:
parent
32960332b9
commit
6828a5d9a0
@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
> Users must be able to say: “I had this issue, happy to know it's fixed”
|
> Users must be able to say: “I had this issue, happy to know it's fixed”
|
||||||
|
|
||||||
|
- [Backup reports] Fix backup report not sent in case of interrupted backup job (PR [#4772](https://github.com/vatesfr/xen-orchestra/pull/4772))
|
||||||
|
|
||||||
### Released packages
|
### Released packages
|
||||||
|
|
||||||
> Packages will be released in the order they are here, therefore, they should
|
> Packages will be released in the order they are here, therefore, they should
|
||||||
@ -18,5 +20,6 @@
|
|||||||
>
|
>
|
||||||
> Rule of thumb: add packages on top.
|
> Rule of thumb: add packages on top.
|
||||||
|
|
||||||
|
- xo-server-backup-reports v0.16.5
|
||||||
- xo-server v5.58.0
|
- xo-server v5.58.0
|
||||||
- xo-web v5.58.0
|
- xo-web v5.58.0
|
||||||
|
@ -395,7 +395,13 @@ class BackupReportsXoPlugin {
|
|||||||
mailReceivers,
|
mailReceivers,
|
||||||
markdown: toMarkdown(markdown),
|
markdown: toMarkdown(markdown),
|
||||||
success: false,
|
success: false,
|
||||||
nagiosMarkdown: `[Xen Orchestra] [${log.status}] Backup report for ${jobName} - Error : ${log.result.message}`,
|
nagiosMarkdown: `[Xen Orchestra] [${
|
||||||
|
log.status
|
||||||
|
}] Backup report for ${jobName}${
|
||||||
|
log.result?.message !== undefined
|
||||||
|
? ` - Error : ${log.result.message}`
|
||||||
|
: ''
|
||||||
|
}`,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user