From b014c71829499b286fdb83a49103eeb5bb0c8dc9 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 17 Dec 2013 11:02:30 -0600 Subject: [PATCH] Catch every exception here, for now. Signed-off-by: Zack Cerza --- teuthology/queue.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/teuthology/queue.py b/teuthology/queue.py index 8516933711..254a31e752 100644 --- a/teuthology/queue.py +++ b/teuthology/queue.py @@ -225,8 +225,9 @@ def run_with_watchdog(process, job_config): try: subprocess.Popen(cmd, shell=True).wait() log.warn("Reported results via the teuthology-report command") - except OSError: - log.warn("Tried to run teuthology-report but it wasn't in $PATH") + except Exception: + log.exception("teuthology-report failed") + #log.warn("Tried to run teuthology-report but it wasn't in $PATH") else: # Let's make sure that paddles knows the job is finished. We don't know # the status, but if it was a pass or fail it will have already been -- 2.39.5