log error when aborting