mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 12:21:57 +00:00
Update healthUtil.ts
Co-authored-by: J M <2364004+Blu-J@users.noreply.github.com>
This commit is contained in:
@@ -40,5 +40,5 @@ export const guardDurationAboveMinimum = (
|
|||||||
export const catchError = (effects: Effects) => (e: unknown) => {
|
export const catchError = (effects: Effects) => (e: unknown) => {
|
||||||
if (isKnownError(e)) return e
|
if (isKnownError(e)) return e
|
||||||
effects.error(`Health check failed: ${e}`);
|
effects.error(`Health check failed: ${e}`);
|
||||||
return { error: "Error while running health check" };
|
return error( "Error while running health check" );
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user