Remove unnecessary debugging

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen committed 2022-02-03 08:27:05 +02:00
1 parent 645fb23d05
commit fb8320b182
2 files changed
-3

No files matched your search

-2
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
@@ -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)),