Indeed, it's possible for you to handle errors that come up when executing Python code by using the try: ... except ... language feature.
At the bottom of quiz.py, instead of just calling main(), put this:
except GraphicsError as error:
print("Ignoring: ", error)
Indented in between try and except you put some code that might cause an error. After except you put the name of the error you want to "handle", then as and then a variable name that will store the error object that describes the error that happened. Indented after the except statement, put the code you want to run when the error happens (instead of having the program immediately DIE with a red error message!). If you don't want to print or do anything, you could put pass there, although it's usually better to do something, so you at least know that an error happened...