Add logging fail except.