log error instead of throw exception while counter is not registered before.