Skip to content

Commit 4b049fc

Browse files
committed
predicate.py: warn about ignored exceptions during temp clean up
1 parent 0744cea commit 4b049fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csmith-fuzzing/predicate.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ def main():
147147
for path in TEMP_FILES:
148148
try:
149149
os.remove(path)
150-
except:
151-
pass
150+
except Exception as e:
151+
print("Unexpected exception:", e)
152152

153153
sys.exit(exit_code)
154154

0 commit comments

Comments
 (0)