X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fperformance%2Fstorage%2FStorage.ts;h=d85d8c415efdd1b254694976597bfd722af4c42d;hb=cb886184464ed30ee14f538581e511710131b6ef;hp=565c15df2e21b4160f74ad6d6d5ea356a57192cc;hpb=8114d10e3893e96bb725ce2fca9744429ee4b75b;p=e-mobility-charging-stations-simulator.git diff --git a/src/performance/storage/Storage.ts b/src/performance/storage/Storage.ts index 565c15df..d85d8c41 100644 --- a/src/performance/storage/Storage.ts +++ b/src/performance/storage/Storage.ts @@ -2,9 +2,9 @@ import { URL } from 'url'; -import { EmptyObject } from '../../types/EmptyObject'; -import { HandleErrorParams } from '../../types/Error'; -import Statistics from '../../types/Statistics'; +import type { EmptyObject } from '../../types/EmptyObject'; +import type { HandleErrorParams } from '../../types/Error'; +import type Statistics from '../../types/Statistics'; import { DBName, StorageType } from '../../types/Storage'; import logger from '../../utils/Logger'; import Utils from '../../utils/Utils'; @@ -30,7 +30,7 @@ export abstract class Storage { logger.error( `${this.logPrefix} ${this.getDBNameFromStorageType(type)} error '${ error.message - }'${inTableOrCollectionStr}: %j`, + }'${inTableOrCollectionStr}:`, error ); if (params?.throwError) {