refactor: logger (#16393)

This commit is contained in:
Jason Rasmussen
2025-02-27 14:59:50 -05:00
committed by GitHub
parent 1c86293035
commit fbd85a89e0
10 changed files with 153 additions and 86 deletions

View File

@@ -54,7 +54,7 @@ export class StorageService extends BaseService {
this.logger.log('Successfully verified system mount folder checks');
} catch (error) {
if (envData.storage.ignoreMountCheckErrors) {
this.logger.error(error);
this.logger.error(error as Error);
this.logger.warn('Ignoring mount folder errors');
} else {
throw error;