mirror: show exception type when logging mirror check error

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
Olivier Gayot 2023-01-29 11:14:22 +01:00
parent ac98851b7c
commit a8610c424f
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ class MirrorController(SubiquityController):
return None
if self.mirror_check.task.done():
if self.mirror_check.task.exception():
log.warning("Mirror check failed: %s",
log.warning("Mirror check failed: %r",
self.mirror_check.task.exception())
status = MirrorCheckStatus.FAILED
else: