Error logging for sets