import type { ChargingStation } from './ChargingStation';
import { ChargingStationUtils } from './ChargingStationUtils';
import { FileType, IdTagDistribution } from '../types';
-import { FileUtils, Utils, logger } from '../utils';
+import { ErrorUtils, FileUtils, Utils, logger } from '../utils';
type IdTagsCacheValueType = {
idTags: string[];
this.deleteIdTagsCache(file);
this.deleteIdTagsCacheIndexes(file);
} catch (error) {
- FileUtils.handleFileException(
+ ErrorUtils.handleFileException(
file,
FileType.Authorization,
error as NodeJS.ErrnoException,
// Load id tags file
idTags = JSON.parse(fs.readFileSync(file, 'utf8')) as string[];
} catch (error) {
- FileUtils.handleFileException(
+ ErrorUtils.handleFileException(
file,
FileType.Authorization,
error as NodeJS.ErrnoException,