diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-11-01 11:12:34 -0700 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2017-11-01 11:14:48 -0700 |
commit | 4b049fc80f61fb993ee792f9187829f0310673ac (patch) | |
tree | 2909c164b3974782753df4dd552743bd5cc6c508 | |
parent | 0744cea891203797121d7a6be96a21d85e6f7818 (diff) |
predicate.py: warn about ignored exceptions during temp clean up
-rwxr-xr-x | csmith-fuzzing/predicate.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/csmith-fuzzing/predicate.py b/csmith-fuzzing/predicate.py index 3bfaa272..2f561148 100755 --- a/csmith-fuzzing/predicate.py +++ b/csmith-fuzzing/predicate.py @@ -147,8 +147,8 @@ def main(): for path in TEMP_FILES: try: os.remove(path) - except: - pass + except Exception as e: + print("Unexpected exception:", e) sys.exit(exit_code) |