From b72a44fd3b892d3631a9cc9a76cb99e31f5e1d5f Mon Sep 17 00:00:00 2001 From: Lino Schmidt Date: Wed, 5 Apr 2023 13:04:25 +0200 Subject: [PATCH] Fixed Profile not found error --- src/components/settings.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;