1
0
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:
Jari Kolehmainen 2021-08-12 11:26:00 +03:00 committed by GitHub
parent be6df7d25a
commit d66bd54bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
} }
} }