From a38dac1e4e3dca51c9fb8eba1e5a5761663c0c9d Mon Sep 17 00:00:00 2001 From: Refringe Date: Sun, 15 Dec 2024 23:27:02 -0500 Subject: [PATCH] Backup Service Profile Directory Error This changes the backup service to log in debug instead of error when the profiles directory can't be found. The profiles directory will not exist on initial run, so this is actually expected to catch until it's created. --- project/src/services/BackupService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/services/BackupService.ts b/project/src/services/BackupService.ts index 591ee312..12590395 100644 --- a/project/src/services/BackupService.ts +++ b/project/src/services/BackupService.ts @@ -43,7 +43,7 @@ export class BackupService { try { currentProfiles = await this.fetchProfileFiles(); } catch (error) { - this.logger.error(`Unable to read profiles directory: ${error.message}`); + this.logger.debug("Skipping profile backup: Unable to read profiles directory"); return; }