소스 검색

hpcc-13997 Added red error message to cluster_script.py error output

Signed-off-by: Michael Gardner <Michael.Gardner@lexisnexis.com>
Michael Gardner 9 년 전
부모
커밋
0893550632
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      initfiles/sbin/cluster_script.py

+ 1 - 1
initfiles/sbin/cluster_script.py

@@ -215,7 +215,7 @@ class ScriptExecution(object):
                 no_error_found = False
         script_name = os.path.basename(self.script_file)
         if not no_error_found:
-            print("\n\nError found during " + script_name + " execution. ")
+            print("\n\n\033[91mError found during " + script_name + " execution.\033[0m")
             print("Reference following log for more information: ")
             print(self.log_file)
         else: