proxmox/proxmox-rest-server
Christian Ebner 10cf5ed7b4 rest-server: worker task: include context in state error message
Currently the anyhow error context of a given error is not included
in the error message, as `to_string` does use the default formatting
[0].

Include the error context, formatting it as single line as the
message is also shown to the users in e.g. the Proxmox Backup Severs
task state in the UI.

[0] https://docs.rs/anyhow/latest/anyhow/struct.Error.html#display-representations

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2025-03-20 14:40:58 +01:00
..
debian rest-server: bump to 0.8.7-1 2025-03-04 15:54:19 +01:00
examples rest-server/router: ignore type complexity clippy lint 2025-03-06 15:25:24 +01:00
src rest-server: worker task: include context in state error message 2025-03-20 14:40:58 +01:00
Cargo.toml rest-server: bump to 0.8.7-1 2025-03-04 15:54:19 +01:00