[pbs-devel] [PATCH proxmox/proxmox-backup v2 0/1] Improved panic errors with formatted strings

Laurențiu Leahu-Vlăducu l.leahu-vladucu at proxmox.com
Tue Jan 21 14:11:45 CET 2025


While I was working on some patches, I noticed that error messages
were not properly logged in some situations where we were formatting
errors (thus not logging errors defined at compile-time).

This patch series fixes the issues I had by patching the proxmox-rest-server,
but also fixes similar issues in PBS itself from happening in the future.

Changes since v1:
* use tracing::error instead of eprintln
* inline some variables when formatting


proxmox-backup:

Laurențiu Leahu-Vlăducu (1):
  proxy/parallel_handler: Improved panic errors with formatted strings

 src/bin/proxmox-backup-proxy.rs |  9 ++++++---
 src/tools/parallel_handler.rs   | 10 +++++-----
 2 files changed, 11 insertions(+), 8 deletions(-)


proxmox:

Laurențiu Leahu-Vlăducu (1):
  rest-server: Improved panic errors with formatted strings

 proxmox-rest-server/src/worker_task.rs | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
2.39.5





More information about the pbs-devel mailing list