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

Remove unnecessary debugging

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-02-03 08:27:05 +02:00
parent 645fb23d05
commit fb8320b182
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A
2 changed files with 0 additions and 3 deletions

View File

@ -415,8 +415,6 @@ export abstract class KubeObjectStore<T extends KubeObject> extends ItemStore<T>
const callback = (data: IKubeWatchEvent<T>, error: any) => {
if (!this.isLoaded || error?.type === "aborted") return;
console.log(error);
if (error instanceof Response) {
if (error.status === 404 || error.status === 401) {
// api has gone, or credentials are not permitted, let's not retry

View File

@ -67,7 +67,6 @@ class NonInjectedKubeObjectListLayout<K extends KubeObject> extends React.Compon
];
if (subscribeStores) {
console.log("subscribing stores", stores);
reactions.push(
this.props.subscribeToStores(stores, {
onLoadFailure: error => this.loadErrors.push(String(error)),