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

Improve error message

Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Lauri Nevala 2021-01-14 13:16:51 +02:00
parent a33327d0bb
commit be0ce02448

View File

@ -328,7 +328,8 @@ export class ClusterStore extends BaseStore<ClusterStoreModel> {
cluster.enabled = true; cluster.enabled = true;
} }
} catch (err) { } catch (err) {
logger.error(`[CLUSTER-STORE] Failed to construct a cluster (context: ${clusterModel.contextName}, kubeconfig: ${clusterModel.kubeConfigPath})... Removing it from the app.`); logger.error(err);
logger.error(`[CLUSTER-STORE] Failed to load a cluster (context: ${clusterModel.contextName}, kubeconfig: ${clusterModel.kubeConfigPath})... Removing it from the app. `);
continue; continue;
} }
} }