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
Colorize console message ouputs
[e-mobility-charging-stations-simulator.git]
/
src
/
start.ts
diff --git
a/src/start.ts
b/src/start.ts
index 56bafee7b86bebb53a6a97414183c544c8d72f58..596f0275e8335a9c36e0dc29cb31dff5539cc4fb 100644
(file)
--- a/
src/start.ts
+++ b/
src/start.ts
@@
-1,7
+1,8
@@
import Bootstrap from './charging-station/Bootstrap';
import Bootstrap from './charging-station/Bootstrap';
+import chalk from 'chalk';
Bootstrap.getInstance().start().catch(
(error) => {
Bootstrap.getInstance().start().catch(
(error) => {
- console.error(
error
);
+ console.error(
chalk.red(error)
);
}
);
}
);