[pbs-devel] [PATCH proxmox-backup 3/4] api: refactor remote client and add remote scan

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Nov 5 09:58:59 CET 2020


On 05.11.20 08:43, Fabian Grünbichler wrote:
> On November 4, 2020 6:12 pm, Thomas Lamprecht wrote:
>> we probably also do not want to bubble up the 401 error our server gets
>> from the remote server, as I then get logged out by the gui which thinks
>> the 401 are from our server...
> 
> that's a good gotcha. should we just map errors to a generic 400 
> prefixed with 'scanning remote '{}' failed' ?

or even a 5xx, as the server run into this error? but no hard feelings here.






More information about the pbs-devel mailing list