Commit 2617c6f
Fix Ralph
fix(datasetQuality): downgrade registry 404 log from error to debug
When fetchDatasets calls packageClient.getPackage() and the Fleet registry
returns a 404 (Unknown resource), the RegistryResponseError was being logged
at ERROR level. These 4xx responses are user-facing conditions (package not
found in registry), not Kibana server faults. Log RegistryResponseError
with status < 500 and FleetUnauthorizedError at debug level instead.1 parent 91f739d commit 2617c6f
1 file changed
Lines changed: 20 additions & 4 deletions
File tree
Lines changed: 20 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
92 | | - | |
93 | | - | |
94 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
95 | 111 | | |
96 | 112 | | |
97 | 113 | | |
| |||
0 commit comments