Skip to content

Commit ed6cac0

Browse files
committed
delete log
1 parent c78f773 commit ed6cac0

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

frontend/desktop/src/pages/api/auth/rotateKubeconfig.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,7 @@ async function watchKubeconfigUpdate(
137137
return currentKubeconfig;
138138
}
139139
}
140-
} catch (err) {
141-
console.error(`Failed to get status for ${name}:`, err);
142-
}
140+
} catch (err) {}
143141

144142
if (Date.now() - startTime >= timeout) {
145143
console.error(

frontend/desktop/src/services/backend/kubernetes/admin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function watchClusterObject({
4646
return body.status.kubeConfig as string;
4747
}
4848
} catch (err) {
49-
console.error(`Failed to get status for ${name}: ${err}`);
49+
console.error(err);
5050
}
5151
if (Date.now() - startTime >= timeout) {
5252
console.error(`Timed out after ${timeout} ms.`);
@@ -88,7 +88,7 @@ async function watchCustomClusterObject({
8888
return body;
8989
}
9090
} catch (err) {
91-
console.error(`Failed to get status for ${name}: ${err}`);
91+
console.error(err);
9292
}
9393
if (Date.now() - startTime >= timeout) {
9494
console.error(`Timed out after ${timeout} ms.`);

frontend/providers/costcenter/src/service/backend/kubernetes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export async function watchClusterObject({
301301
return body;
302302
}
303303
} catch (err) {
304-
console.error(`Failed to get status for ${name}: ${err}`);
304+
console.error(err);
305305
}
306306
if (Date.now() - startTime >= timeout) {
307307
console.error(`Timed out after ${timeout} ms.`);

0 commit comments

Comments
 (0)