remove uneeded

This commit is contained in:
Lucy Cifferello
2022-11-15 12:13:19 -05:00
parent 12ef53b22c
commit 8630000e8c

View File

@@ -35,9 +35,3 @@ export const guardDurationAboveMinimum = (
(input.duration <= input.minimumTime)
? errorCode(60, "Starting")
: null;
export const catchError = (effects: Effects) => (e: unknown) => {
const error = (error: string) => ({ error });
effects.error(`Health check failed: ${e}`);
return error("Error while running health check");
};