[pdm-devel] applied: [RFC PATCH datacenter-manager] server: api: resources: use root cause for errors for remote fetching
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Sep 10 17:12:05 CEST 2025
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
More information about the pdm-devel
mailing list