So, it turns out I do need to put the alternative block inside the exception handling. I can't just use the if statement. Will clean it up better later, but for now it needs to be functional.