]> git.proxmox.com Git - proxmox-backup.git/commit
acme: improve errors when account loading fails
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 12 May 2021 10:06:18 +0000 (12:06 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 12 May 2021 10:22:21 +0000 (12:22 +0200)
commit126ccbcfa6a37cbd4f44ba676e4580efb0e6b11c
tree48ad0f31b70eedb781a2433e82cb43e4924c43d9
parent440472cb321ab668e746ffc69035ae8fd98f7aa4
acme: improve errors when account loading fails

if the account does not exist, error with its name
if file loading fails, the error includes the full path
if the content fails to parse, show file & parse error
and in each case mention that it's about loading the acme account file

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/acme/client.rs