I am trying to catch an exception, null the bad value, and throw the exception again so the code that calls this function can handle it. I've attached screenshots of both sections of code. It's saying that the exception is unhandled even though I am using try/except blocks to catch SshAuthenticationException in both. Changing the exception to catch just Exception does not fix this. I must be missing something here.