mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
log lens-metrics status request failures (#3584)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
be6df7d25a
commit
d66bd54bd4
@ -109,6 +109,8 @@ export class MetricsFeature {
|
|||||||
} catch(e) {
|
} catch(e) {
|
||||||
if (e?.error?.code === 404) {
|
if (e?.error?.code === 404) {
|
||||||
status.installed = false;
|
status.installed = false;
|
||||||
|
} else {
|
||||||
|
console.warn("[LENS-METRICS] failed to resolve install state", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user