X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Futils%2FErrorUtils.ts;h=bd4fcf375ca334e96c62afa5d09b88cc8fa7a21b;hb=f0bede86574750d1d894d16a86ef63f83948e7a0;hp=41a61acc41491cca0d614db9b1c5576a67e821e5;hpb=5199f9fdf202eb534948f165a0994e1993675aa8;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/ErrorUtils.ts b/src/utils/ErrorUtils.ts index 41a61acc..bd4fcf37 100644 --- a/src/utils/ErrorUtils.ts +++ b/src/utils/ErrorUtils.ts @@ -17,7 +17,7 @@ import type { const defaultErrorParams = { throwError: true, consoleOut: false -} +} satisfies HandleErrorParams export const handleUncaughtException = (): void => { process.on('uncaughtException', (error: Error) => {