mirror: show exception type when logging mirror check error
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
parent
ac98851b7c
commit
a8610c424f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue