Catch the exception first just in case