proxmox/proxmox-notify
Lukas Wagner d49fc1aa2f notify: make template rendering helpers more robust
This commit has the aim of making template rendering a bit more
robust. It does so by a.) Accepting also strings for helpers that
expect a number, parsing the number if needed, and b.) Ignoring errors
if a template helper fails to render a value and showing an error in
the logs, instead of failing to render the whole template (leading
to no notification being sent).

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-08-25 15:32:34 +02:00
..
debian bump proxmox-notify to 0.2.0 2023-07-28 11:56:56 +02:00
examples notify: make template rendering helpers more robust 2023-08-25 15:32:34 +02:00
src notify: make template rendering helpers more robust 2023-08-25 15:32:34 +02:00
Cargo.toml bump proxmox-notify to 0.2.0 2023-07-28 11:56:56 +02:00