From 7e57d0fb87c7d9c2a061d671d193068213be44cd Mon Sep 17 00:00:00 2001 From: Lucy C <12953208+elvece@users.noreply.github.com> Date: Tue, 15 Nov 2022 12:37:06 -0500 Subject: [PATCH] Update healthUtil.ts Co-authored-by: J M <2364004+Blu-J@users.noreply.github.com> --- healthUtil.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/healthUtil.ts b/healthUtil.ts index 559bcbd..e3cbeac 100644 --- a/healthUtil.ts +++ b/healthUtil.ts @@ -40,5 +40,5 @@ export const guardDurationAboveMinimum = ( export const catchError = (effects: Effects) => (e: unknown) => { if (isKnownError(e)) return e effects.error(`Health check failed: ${e}`); - return { error: "Error while running health check" }; + return error( "Error while running health check" ); };