From: Jérôme Benoit Date: Sun, 30 Jul 2023 15:05:47 +0000 (+0200) Subject: refactor: refine error message at building default storage URI X-Git-Tag: v1.2.20~82 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f39ae767c322dc874ced95d72e7551c846322280;p=e-mobility-charging-stations-simulator.git refactor: refine error message at building default storage URI Signed-off-by: Jérôme Benoit --- diff --git a/src/utils/Configuration.ts b/src/utils/Configuration.ts index ad8d328d..b564cd62 100644 --- a/src/utils/Configuration.ts +++ b/src/utils/Configuration.ts @@ -578,7 +578,7 @@ export class Configuration { `${Constants.DEFAULT_PERFORMANCE_DIRECTORY}/${Constants.DEFAULT_PERFORMANCE_RECORDS_DB_NAME}.db`, ); default: - throw new Error(`Performance storage URI is mandatory with storage type '${storageType}'`); + throw new Error(`Unsupported storage type '${storageType}'`); } }