build: update excluded assets files list
[e-mobility-charging-stations-simulator.git] / src / charging-station / Bootstrap.ts
index a1ee4ff2342b01854ffd913ff83ec1dec1abbd0b..677843d27c1c479ac4c9e34f98bcd98f38a55a44 100644 (file)
@@ -129,7 +129,7 @@ export class Bootstrap extends EventEmitter {
 
   public async stop(): Promise<void> {
     if (isMainThread && this.started === true) {
-      await this.uiServer?.sendBroadcastChannelRequest(
+      await this.uiServer?.sendRequestOnBroadcastChannel(
         this.uiServer.buildProtocolRequest(
           Utils.generateUUID(),
           ProcedureName.STOP_CHARGING_STATION,
@@ -299,7 +299,7 @@ export class Bootstrap extends EventEmitter {
         process.exit(0);
       })
       .catch((error) => {
-        console.error(chalk.red('Error while stopping charging stations simulator: '), error);
+        console.error(chalk.red('Error while shutdowning charging stations simulator: '), error);
         process.exit(1);
       });
   };