Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -846,8 +846,6 @@ export class LogsExtractionClient {
}

private async handleError(error: any, type: EntityType): Promise<ExtractedLogsSummary> {
this.logger.error(error);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this func already persist (SO) and returns an error, so it makes sense the consumer would decide what do with it. in runTask we do log it.


if (
SavedObjectsErrorHelpers.isNotFoundError(error) ||
error instanceof EntityStoreNotRunningError
Expand Down
Loading