From 9d48ee9a8d9abebdd22fd315a76c9e4ec610e046 Mon Sep 17 00:00:00 2001 From: Sergey Potekhin Date: Tue, 28 Jan 2025 19:28:18 +0000 Subject: [PATCH] Add RpcError --- src/cli/alto.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cli/alto.ts b/src/cli/alto.ts index 87a80089..1bfd8639 100644 --- a/src/cli/alto.ts +++ b/src/cli/alto.ts @@ -14,7 +14,7 @@ import { serverOptions } from "./config" import { registerCommandToYargs } from "./util" -import { TimeoutError, HttpRequestError, InternalRpcError } from "viem" +import { TimeoutError, HttpRequestError, InternalRpcError, RpcError } from "viem" import { initProductionLogger } from "@alto/utils" // Load environment variables from .env file @@ -28,7 +28,8 @@ if (process.env.SENTRY_DSN) { const SENTRY_IGNORE_ERRORS = [ InternalRpcError, HttpRequestError, - TimeoutError + TimeoutError, + RpcError ] sentry.init({