diff --git a/best-practices/largescale-deep-learning/Debugging/Compute/run_nhc.py b/best-practices/largescale-deep-learning/Debugging/Compute/run_nhc.py index 3b3bf15850..250b2660a6 100644 --- a/best-practices/largescale-deep-learning/Debugging/Compute/run_nhc.py +++ b/best-practices/largescale-deep-learning/Debugging/Compute/run_nhc.py @@ -100,6 +100,7 @@ def parse_output(output_file): output, error = process.communicate() print(output) print(error) + if full_errors: raise Exception( "Failures were found while running the node health checks. Please see the std_log_process.txt files under the 'outputs and logs' tab of the job for more information." + full_errors