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
refactor(simulator): propagate and handle startup error at callee
[e-mobility-charging-stations-simulator.git]
/
src
/
start.ts
diff --git
a/src/start.ts
b/src/start.ts
index 8eca3a4a11e093983b7ab8f499b2c6406175a2fa..0185903dd0a3b4993fb0559c15134a2271776f35 100644
(file)
--- a/
src/start.ts
+++ b/
src/start.ts
@@
-7,5
+7,5
@@
import { Bootstrap } from './internal';
Bootstrap.getInstance()
.start()
.catch((error) => {
- console.error(chalk.red(
error)
);
+ console.error(chalk.red(
'Startup error: '), error
);
});