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:
parent
645fb23d05
commit
fb8320b182
@ -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
|
||||
|
||||
@ -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)),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user