Skip to content

Commit 84aeb27

Browse files
committed
Respect Ctrl+C in plotter exception handling
1 parent bd8aeba commit 84aeb27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plotter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def draw(self, xml_path, replays_path, qapp):
168168
else:
169169
data = "[please load replay data]"
170170
plot.plot.draw_with_given_args(data)
171-
except:
171+
except Exception:
172172
util.logger.exception(f"Failed to generate or draw plot {i+1}, skipping")
173173

174174
qapp.processEvents()

0 commit comments

Comments
 (0)