Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

chore: Use proper logger in WelcomeStep instead of console.error

rcourtmandea2f62e3afd
diff --git a/frontend-modern/src/components/SetupWizard/steps/WelcomeStep.tsx b/frontend-modern/src/components/SetupWizard/steps/WelcomeStep.tsx
index 5c5a3828e5..6a88bda8e9 100644
--- a/frontend-modern/src/components/SetupWizard/steps/WelcomeStep.tsx
+++ b/frontend-modern/src/components/SetupWizard/steps/WelcomeStep.tsx
@@ -1,5 +1,6 @@
import { Component, createSignal, Show } from 'solid-js';
import { showError, showSuccess } from '@/utils/toast';
+import { logger } from '@/utils/logger';
interface WelcomeStepProps {
onNext: () => void;
@@ -30,7 +31,7 @@ export const WelcomeStep: Component<WelcomeStepProps> = (props) => {
}
}
} catch (error) {
- console.error('Failed to fetch bootstrap info:', error);
+ logger.error('Failed to fetch bootstrap info:', error);
}
};