Update healthUtil.ts

Co-authored-by: J M <2364004+Blu-J@users.noreply.github.com>
This commit is contained in:
Lucy C
2022-11-15 12:37:06 -05:00
committed by GitHub
parent a3f47810ee
commit 7e57d0fb87

View File

@@ -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" );
};