[pbs-devel] applied: [PATCH proxmox-backup] sync: push: pass full error context when returning error to job

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Nov 27 12:39:03 CET 2024


Am 27.11.24 um 10:26 schrieb Christian Ebner:
> Show the full error context when fetching the remote target
> namespaces fails. As logging of the error is handled by the calling
> sync job, reformat the error to include the error context before
> returning.
> 
> Instead of the error
> ```
> TASK ERROR: Fetching remote namespaces failed, remote returned error
> ```
> 
> the user is now presented with an error like
> ```
> TASK ERROR: Fetching remote namespaces failed, remote returned error: datastore 'removable1' is not mounted
> ```
> 
> Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
> ---
>  src/server/push.rs | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
>

applied, thanks!




More information about the pbs-devel mailing list