diff --git a/.bin/Scripts/functions/hw_diags.py b/.bin/Scripts/functions/hw_diags.py index 652c1365..37321b43 100644 --- a/.bin/Scripts/functions/hw_diags.py +++ b/.bin/Scripts/functions/hw_diags.py @@ -1313,7 +1313,6 @@ def run_hw_tests(state): elif all_disk_tests_enabled and all_disks_passed: update_checkboxes = True - # Ask to update checkboxes if update_checkboxes and ask('Update checkboxes using above results?'): # CPU checkboxes @@ -1332,19 +1331,12 @@ def run_hw_tests(state): elif all_disk_tests_enabled and all_disks_passed: state.ost.set_disk_passed(state.ticket_id) - # Upload for review - if (ENABLED_UPLOAD_DATA - and DEBUG_MODE - and ask('Upload results for review?')): - try_and_print( - message='Saving debug reports...', - function=save_debug_reports, - state=state, global_vars=global_vars) - try_and_print( - message='Uploading Data...', - function=upload_logdir, - global_vars=global_vars, - reason='Review') + # Export debug data + try: + save_debug_reports(state=state, global_vars=global_vars) + except Exception: + # WHY? + pass # Done sleep(1)