From: Jérôme Benoit Date: Thu, 7 Mar 2024 17:04:02 +0000 (+0100) Subject: refactor: refine error message X-Git-Tag: v1.3.0~30 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2762ad626ae7c18006df4cfc86dcf85035c467b2;p=e-mobility-charging-stations-simulator.git refactor: refine error message Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/Bootstrap.ts b/src/charging-station/Bootstrap.ts index 40d451ed..faa29e68 100644 --- a/src/charging-station/Bootstrap.ts +++ b/src/charging-station/Bootstrap.ts @@ -539,7 +539,7 @@ export class Bootstrap extends EventEmitter { ): Promise { if (!this.started && !this.starting) { throw new BaseError( - 'Cannot add charging station while charging stations simulator is not started' + 'Cannot add charging station while the charging stations simulator is not started' ) } await this.workerImplementation?.addElement({