Add note to disk report for critical HW error(s)
This commit is contained in:
parent
376a9e92ba
commit
6071470b6a
1 changed files with 1 additions and 0 deletions
|
|
@ -162,6 +162,7 @@ class State():
|
|||
disk.safety_checks()
|
||||
except hw_obj.CriticalHardwareError:
|
||||
disable_tests = True
|
||||
disk.add_note('Critical hardware error detected.', 'RED')
|
||||
if 'Disk Attributes' in disk.tests:
|
||||
disk.tests['Disk Attributes'].failed = True
|
||||
disk.tests['Disk Attributes'].set_status('Failed')
|
||||
|
|
|
|||
Loading…
Reference in a new issue