xcp-ng / uefistored

Variables store for UEFI guests. Note: in XCP-ng 8.3+, we switched to varstored in order to share a common implementation with XenServer.
GNU General Public License v2.0
7 stars 3 forks source link

feat(secureboot-certs): add helpful error if urllib2 error occurs #27

Closed beshleman closed 2 years ago

beshleman commented 3 years ago

If urllib2 fails, it throws a URLError or a HTTPError. Die gracefully and give the user some advice.

Signed-off-by: Bobby Eshleman bobby.eshleman@gmail.com

stormi commented 2 years ago

Looks good. I'll test it before validating.

stormi commented 2 years ago

This doesn't work like expected. There's an UnboundLocalError. See screenshot. image