Skip to content

Commit

Permalink
Add RpcError
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlovdog committed Jan 28, 2025
1 parent 1d21be4 commit 9d48ee9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cli/alto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -28,7 +28,8 @@ if (process.env.SENTRY_DSN) {
const SENTRY_IGNORE_ERRORS = [
InternalRpcError,
HttpRequestError,
TimeoutError
TimeoutError,
RpcError
]

sentry.init({
Expand Down

0 comments on commit 9d48ee9

Please sign in to comment.