Error added to logging.