Skip to content

Commit

Permalink
Respect Ctrl+C in plotter exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
kangalio committed Jan 3, 2021
1 parent bd8aeba commit 84aeb27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def draw(self, xml_path, replays_path, qapp):
else:
data = "[please load replay data]"
plot.plot.draw_with_given_args(data)
except:
except Exception:
util.logger.exception(f"Failed to generate or draw plot {i+1}, skipping")

qapp.processEvents()
Expand Down

0 comments on commit 84aeb27

Please sign in to comment.