From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pdm-devel@lists.proxmox.com, Dominik Csapak <d.csapak@proxmox.com>
Subject: [pdm-devel] applied: [RFC PATCH datacenter-manager] server: api: resources: use root cause for errors for remote fetching
Date: Wed, 10 Sep 2025 17:12:05 +0200 [thread overview]
Message-ID: <175751711174.2710202.5426448965133692144.b4-ty@proxmox.com> (raw)
In-Reply-To: <20250909082608.1018103-1-d.csapak@proxmox.com>
On Tue, 09 Sep 2025 10:25:51 +0200, Dominik Csapak wrote:
> when we can't reach a remote for any reason, we want to return the error
> as a string here over the API. Since most errors that can occur here are
> client/network related (wrong credentials, no route to host, timeout,
> etc.) converting this error directly to a string gives us
> errors like:
>
> `client error (Connect)`
>
> [...]
Applied, thanks! Added logging the full context as tracing::debug message like
Wolfgang suggested in a follow up.
[1/1] server: api: resources: use root cause for errors for remote fetching
commit: 56a80782168ce5cc7f5da6eaafe533d9f791ef38
_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel
prev parent reply other threads:[~2025-09-10 15:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-09 8:25 [pdm-devel] " Dominik Csapak
2025-09-10 8:15 ` Wolfgang Bumiller
2025-09-10 8:31 ` Dominik Csapak
2025-09-10 10:19 ` Wolfgang Bumiller
2025-09-10 15:12 ` 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=175751711174.2710202.5426448965133692144.b4-ty@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=d.csapak@proxmox.com \
--cc=pdm-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.