From a6bdd22b02d692466f29cf69e22c6c508d089c15 Mon Sep 17 00:00:00 2001 From: Sergey Potekhin Date: Mon, 23 Dec 2024 16:27:52 +0400 Subject: [PATCH] Ignore errors --- src/cli/alto.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/cli/alto.ts b/src/cli/alto.ts index d847533e..ae06bd0e 100644 --- a/src/cli/alto.ts +++ b/src/cli/alto.ts @@ -25,7 +25,12 @@ if (process.env.DOTENV_CONFIG_PATH) { if (process.env.SENTRY_DSN) { sentry.init({ dsn: process.env.SENTRY_DSN, - environment: process.env.ENVIRONMENT + environment: process.env.ENVIRONMENT, + ignoreErrors: [ + "RpcRequestError", + "ResourceNotFoundRpcError", + "HttpRequestError", + ] }) }