Skip to content

Commit

Permalink
Backup Service Profile Directory Error
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
refringe committed Dec 16, 2024
1 parent 41d5bd5 commit a38dac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/src/services/BackupService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a38dac1

Please sign in to comment.