mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Fleet] Classify index not found as file not found too (#165469)
This commit is contained in:
parent
2af57fb24e
commit
43b3f2e1cf
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ export class FleetFromHostFilesClient implements FleetFromHostFileClientInterfac
|
|||
if (error instanceof FleetFilesClientError) {
|
||||
throw error;
|
||||
}
|
||||
if (error.message.includes('index_not_found')) {
|
||||
throw new FleetFileNotFound(error.message, error);
|
||||
}
|
||||
|
||||
throw new FleetFilesClientError(error.message, error);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue