refactor: refine error message at building default storage URI
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 30 Jul 2023 15:05:47 +0000 (17:05 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 30 Jul 2023 15:05:47 +0000 (17:05 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/utils/Configuration.ts

index ad8d328df83f1da34d864c59d5431b6b79539dbc..b564cd6252ea4366993f24bb5e9961132bd9ad4d 100644 (file)
@@ -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}'`);
     }
   }