From 5ad18a7fee64d57bab1f95072b0174ac21021111 Mon Sep 17 00:00:00 2001 From: 2Shirt <1923621+2Shirt@users.noreply.github.com> Date: Wed, 3 Oct 2018 23:30:55 -0600 Subject: [PATCH] Show warning if there were issue(s) posting --- .bin/Scripts/functions/hw_diags.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.bin/Scripts/functions/hw_diags.py b/.bin/Scripts/functions/hw_diags.py index 8c270e34..807965ae 100644 --- a/.bin/Scripts/functions/hw_diags.py +++ b/.bin/Scripts/functions/hw_diags.py @@ -1507,6 +1507,11 @@ def show_results(): print_standard(' {}'.format(line)) print_standard(' ') + # osTicket + if ost_db['Errors']: + print_warning('WARNING: Failed to post result(s) to osTicket') + print_standard(' ') + # Done pause('Press Enter to return to main menu... ') run_program('tmux kill-pane -a'.split())