[ResponseOps] [Alerting] race condition at startup accessing AaD documents (#166980)

Resolves https://github.com/elastic/kibana/issues/166418

## Summary

Change from `warn` to `debug`. Was able to replicate this error when
migrating an es query rule from 8.9 to 8.10 where es query uses AAD.
This commit is contained in:
Alexi Doak 2023-09-21 13:21:36 -07:00 committed by GitHub
parent 840e1216b0
commit 18a95deaea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -369,7 +369,7 @@ export class AlertsClient<
})
);
} else {
this.options.logger.warn(
this.options.logger.debug(
`Could not find alert document to update for recovered alert with id ${id} and uuid ${recoveredAlerts[
id
].getUuid()}`