Catch all kinds of exceptions