diff --git a/src/index.ts b/src/index.ts index 563d44c..0b198a9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -26,7 +26,7 @@ export const watchdogNotifier: HttpFunction = async ( console.info("[HealthCheck]: Block", parsedEvent.block); break; default: - console.warn("Unknown event type:", parsedEvent.event); + throw new Error("Unknown event type", parsedEvent.event); } }