repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: add initial HTTP/2 support to ui server (mutually exclusive for now)
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
Bootstrap.ts
diff --git
a/src/charging-station/Bootstrap.ts
b/src/charging-station/Bootstrap.ts
index 76b2c2999d00318960199be014bfab9a49b60150..7e23949ca8aca4f6dc0e93998b94bd9121634759 100644
(file)
--- a/
src/charging-station/Bootstrap.ts
+++ b/
src/charging-station/Bootstrap.ts
@@
-109,7
+109,7
@@
export class Bootstrap extends EventEmitter {
public async start(): Promise<void> {
if (!isMainThread) {
public async start(): Promise<void> {
if (!isMainThread) {
- throw new Error('Cannot start charging stations simulator from worker thread');
+ throw new
Base
Error('Cannot start charging stations simulator from worker thread');
}
if (this.started === false) {
if (this.starting === false) {
}
if (this.started === false) {
if (this.starting === false) {
@@
-176,7
+176,7
@@
export class Bootstrap extends EventEmitter {
public async stop(): Promise<void> {
if (!isMainThread) {
public async stop(): Promise<void> {
if (!isMainThread) {
- throw new Error('Cannot stop charging stations simulator from worker thread');
+ throw new
Base
Error('Cannot stop charging stations simulator from worker thread');
}
if (this.started === true) {
if (this.stopping === false) {
}
if (this.started === true) {
if (this.stopping === false) {