mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 02:11:56 +00:00
remove uneeded
This commit is contained in:
@@ -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");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user