repositories
/
e-mobility-charging-stations-simulator.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Ensure performance statistics is started before connection to the OCPP
[e-mobility-charging-stations-simulator.git]
/
src
/
worker
/
WorkerUtils.ts
1
export class
WorkerUtils
{
2
public static
defaultExitHandler
= (
code
:
number
):
void
=> {
3
if
(
code
!==
0
) {
4
console
.
error
(
`Worker stopped with exit code
${code}
`
);
5
}
6
};
7
}