public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: "Proxmox Backup Server development discussion"
	<pbs-devel@lists.proxmox.com>,
	"Laurențiu Leahu-Vlăducu" <l.leahu-vladucu@proxmox.com>
Subject: [pbs-devel] applied: [PATCH proxmox v3 1/1] rest-server: Improved panic errors with formatted strings
Date: Mon, 27 Jan 2025 19:22:55 +0100	[thread overview]
Message-ID: <97ad5c9d-4695-45b0-8c71-599b8a941ced@proxmox.com> (raw)
In-Reply-To: <20250124152910.148449-3-l.leahu-vladucu@proxmox.com>

Am 24.01.25 um 16:29 schrieb Laurențiu Leahu-Vlăducu:
> Improved errors when panics occur and the panic message is a
> formatted (not static) string. This worked already for &str literals,
> but not for Strings.
> 
> Downcasting to both &str and String is also done by the Rust Standard
> Library in the default panic handler. See:
> https://github.com/rust-lang/rust/blob/b605c65b6eb5fa71783f8e26df69975f9f1680ee/library/std/src/panicking.rs#L777
> 
> Signed-off-by: Laurențiu Leahu-Vlăducu <l.leahu-vladucu@proxmox.com>
> ---
>  proxmox-rest-server/src/worker_task.rs | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 
>

applied, thanks!


_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel

      reply	other threads:[~2025-01-27 18:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-24 15:29 [pbs-devel] [PATCH proxmox/proxmox-backup v3 0/1] " Laurențiu Leahu-Vlăducu
2025-01-24 15:29 ` [pbs-devel] [PATCH proxmox-backup v3 1/1] proxy/parallel_handler: " Laurențiu Leahu-Vlăducu
2025-01-27 15:57   ` [pbs-devel] applied: " Thomas Lamprecht
2025-01-28  8:03     ` Laurențiu Leahu-Vlăducu
2025-01-24 15:29 ` [pbs-devel] [PATCH proxmox v3 1/1] rest-server: " Laurențiu Leahu-Vlăducu
2025-01-27 18:22   ` Thomas Lamprecht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=97ad5c9d-4695-45b0-8c71-599b8a941ced@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=l.leahu-vladucu@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal