Tweak error logging.