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: only copy assets used at runtime in the bundle
[e-mobility-charging-stations-simulator.git]
/
src
/
utils
/
ErrorUtils.ts
diff --git
a/src/utils/ErrorUtils.ts
b/src/utils/ErrorUtils.ts
index 7569b8ebe0226ef438e4d54125ed5ce41cf35460..bca12b6463f5a2e76c6388f6b476fda65658c0b8 100644
(file)
--- a/
src/utils/ErrorUtils.ts
+++ b/
src/utils/ErrorUtils.ts
@@
-95,6
+95,7
@@
export class ErrorUtils {
params: HandleErrorParams<T>,
defaultParams: HandleErrorParams<T> = defaultErrorParams
): HandleErrorParams<T> {
- return { ...defaultParams, ...params };
+ params = { ...defaultParams, ...params };
+ return params;
}
}