Good idea. I've changed the code to log an error to the console in this case.