Fix the catch all try-except.