Skip to content

Commit

Permalink
[Synthetics] Supress API key errors when we have no monitors (elastic…
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 authored Nov 13, 2023
1 parent 19da2d5 commit b71a52c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ export class SyntheticsService {
};

for await (const result of finder.find()) {
if (result.saved_objects.length === 0) {
return;
}
try {
if (!output) {
output = await this.getOutput();
Expand Down

0 comments on commit b71a52c

Please sign in to comment.