Minor tweak to the error logging.