From 1c2330d9e45b9e87ed70848fd0ce192b0d06c904 Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Thu, 8 Dec 2016 11:00:00 -0800 Subject: [PATCH] Update build_status.py --- infra/auto-setup/build_status.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/auto-setup/build_status.py b/infra/auto-setup/build_status.py index 97c8443ab..c54abf854 100755 --- a/infra/auto-setup/build_status.py +++ b/infra/auto-setup/build_status.py @@ -5,6 +5,7 @@ import datetime import os import subprocess import sys +import traceback import jenkins import jinja2 @@ -51,7 +52,7 @@ def get_build_results(server): project, server.get_build_console_output(name, last_build_number))) except Exception as e: - print >>sys.stderr, e + traceback.print_exc() return successes, failures