mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 20:24:47 +00:00
remove uneeded
This commit is contained in:
@@ -35,9 +35,3 @@ export const guardDurationAboveMinimum = (
|
|||||||
(input.duration <= input.minimumTime)
|
(input.duration <= input.minimumTime)
|
||||||
? errorCode(60, "Starting")
|
? errorCode(60, "Starting")
|
||||||
: null;
|
: 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