diff --git a/src/components/settings.ts b/src/components/settings.ts index c4430c7..dc43772 100644 --- a/src/components/settings.ts +++ b/src/components/settings.ts @@ -377,8 +377,8 @@ function getActiveProfile() { }); if(activeProfile === undefined) { - activeProfile = settingList.profiles[0]; - logger.errorMSG("Active profile not found, using default profile"); + activeProfile = defaultSettings.profiles[0]; + logger.error("Active profile not found, using default profile"); } return activeProfile;