1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix KubeObjectStore loadAll error message (#3421)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-07-19 11:01:38 +03:00 committed by GitHub
parent 48797b4a57
commit 106c9d4a37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,7 @@ export abstract class KubeObjectStore<T extends KubeObject = any> extends ItemSt
if (error.message) { if (error.message) {
Notifications.error(error.message); Notifications.error(error.message);
} }
console.error("Loading store items failed", { error }); console.error("[KubeObjectStore] loadAll failed", this.api.apiBase, error);
this.resetOnError(error); this.resetOnError(error);
this.failedLoading = true; this.failedLoading = true;
} finally { } finally {