From dcfdd41884e9fa0961c87f629b496294c640fd08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20=C3=96qvist?= Date: Tue, 10 May 2016 15:45:40 -0700 Subject: [PATCH] Remove redundant exception catching Catching an exception and just printing the message is less useful than letting it go uncaught and cause the stack trace to be printed. --- utility/rbench.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/utility/rbench.py b/utility/rbench.py index 68a0a14..c864e44 100755 --- a/utility/rbench.py +++ b/utility/rbench.py @@ -317,9 +317,6 @@ def main(): except IOError as e: print >>sys.stderr, "I/O error({0}): {1}".format(e.errno, e.strerror) print >>sys.stderr, "Some of the benchmark data could not be logged!" - except Exception as e: - print e; - sys.exit(1) finally: os.chdir(cur_dir)