Fixed Profile not found error

This commit is contained in:
2023-04-05 13:04:25 +02:00
parent fd1d8e2b51
commit b72a44fd3b

View File

@@ -377,8 +377,8 @@ function getActiveProfile() {
}); });
if(activeProfile === undefined) { if(activeProfile === undefined) {
activeProfile = settingList.profiles[0]; activeProfile = defaultSettings.profiles[0];
logger.errorMSG("Active profile not found, using default profile"); logger.error("Active profile not found, using default profile");
} }
return activeProfile; return activeProfile;