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: cleanup performance statistics namespace
[e-mobility-charging-stations-simulator.git]
/
src
/
utils
/
ErrorUtils.ts
diff --git
a/src/utils/ErrorUtils.ts
b/src/utils/ErrorUtils.ts
index b4f52ba894a9e57891a04954bbe066b6b1d40ad8..0e3dbc50058c669c1c5a30a17c8ecbe14e9138c9 100644
(file)
--- a/
src/utils/ErrorUtils.ts
+++ b/
src/utils/ErrorUtils.ts
@@
-1,7
+1,7
@@
import chalk from 'chalk';
import { logger } from './Logger';
import chalk from 'chalk';
import { logger } from './Logger';
-import {
Utils
} from './Utils';
+import {
isNotEmptyString
} from './Utils';
import type { ChargingStation } from '../charging-station';
import type {
EmptyObject,
import type { ChargingStation } from '../charging-station';
import type {
EmptyObject,
@@
-37,7
+37,7
@@
export const handleFileException = (
params: HandleErrorParams<EmptyObject> = defaultErrorParams
): void => {
setDefaultErrorParams(params);
params: HandleErrorParams<EmptyObject> = defaultErrorParams
): void => {
setDefaultErrorParams(params);
- const prefix =
Utils.
isNotEmptyString(logPrefix) ? `${logPrefix} ` : '';
+ const prefix = isNotEmptyString(logPrefix) ? `${logPrefix} ` : '';
let logMsg: string;
switch (error.code) {
case 'ENOENT':
let logMsg: string;
switch (error.code) {
case 'ENOENT':