Skip to content

Commit

Permalink
Merge pull request #9 from pupil-labs/propagate-pi-gaze-items-exceptions
Browse files Browse the repository at this point in the history
Surface assertion exceptions being thrown to the UI
  • Loading branch information
papr committed Aug 29, 2019
2 parents 390fe0f + 3991509 commit 6d49c48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pupil_src/launchables/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,7 @@ def on_drop(window, count, paths):
um.update_recording_to_recent(rec_dir)
except AssertionError as err:
logger.error(str(err))
tip = "Oops! There was an error updating the recording."
rec_dir = None
else:
glfw.glfwSetWindowShouldClose(window, True)
Expand Down

0 comments on commit 6d49c48

Please sign in to comment.