Display the error only if the attachment could not be removed