chore: Use proper logger in WelcomeStep instead of console.error
This commit is contained in:
parent
c1d9c1bb95
commit
414574739b
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
import { Component, createSignal, Show } from 'solid-js';
|
import { Component, createSignal, Show } from 'solid-js';
|
||||||
import { showError, showSuccess } from '@/utils/toast';
|
import { showError, showSuccess } from '@/utils/toast';
|
||||||
|
import { logger } from '@/utils/logger';
|
||||||
|
|
||||||
interface WelcomeStepProps {
|
interface WelcomeStepProps {
|
||||||
onNext: () => void;
|
onNext: () => void;
|
||||||
|
|
@ -30,7 +31,7 @@ export const WelcomeStep: Component<WelcomeStepProps> = (props) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Failed to fetch bootstrap info:', error);
|
logger.error('Failed to fetch bootstrap info:', error);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue