void (@NotNull String recorderId, @NotNull String eventId, @NotNull EventLogMetadataUpdateError error) { final FeatureUsageData data = new FeatureUsageData(recorderId). addData("stage", error.getUpdateStage().name()). addData("error", error.getErrorType()); int code = error.getErrorCode(); if (code != -1) { data.addData("code", code); } logEvent(recorderId, eventId, data); }