diff --git a/x-pack/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts b/x-pack/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts index cbbd88e65e841..0da2dc6da2c25 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts +++ b/x-pack/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts @@ -158,17 +158,7 @@ export class UiActionsServiceEnhancements private registerFeatureUsage = (definition: ActionFactoryDefinition): void => { if (!definition.minimalLicense || !definition.licenseFeatureName) return; - - // Intentionally don't wait for response because - // happens in setup phase and has to be sync - this.deps.featureUsageSetup - .register(definition.licenseFeatureName, definition.minimalLicense) - .catch(() => { - // eslint-disable-next-line no-console - console.warn( - `ActionFactory [actionFactory.id = ${definition.id}] fail to register feature for featureUsage.` - ); - }); + this.deps.featureUsageSetup.register(definition.licenseFeatureName, definition.minimalLicense); }; public readonly telemetry = (state: DynamicActionsState, telemetry: Record = {}) => {