diff --git a/x-pack/plugins/apm/server/routes/settings/agent_configuration.ts b/x-pack/plugins/apm/server/routes/settings/agent_configuration.ts index 71413cc757538..c92f6886f141b 100644 --- a/x-pack/plugins/apm/server/routes/settings/agent_configuration.ts +++ b/x-pack/plugins/apm/server/routes/settings/agent_configuration.ts @@ -205,7 +205,7 @@ const agentConfigurationSearchRoute = createApmServerRoute({ logger.debug( `[Central configuration] Config was not found for ${service.name}/${service.environment}` ); - throw Boom.notFound(); + return null; } // whether to update `applied_by_agent` field