0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 16:10:43 -05:00

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.
This commit is contained in:
Refringe 2024-12-15 23:27:02 -05:00
parent 41d5bd5586
commit a38dac1e4e
Signed by: Refringe
SSH Key Fingerprint: SHA256:t865XsQpfTeqPRBMN2G6+N8wlDjkgUCZF3WGW6O9N/k

View File

@ -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;
}