From 0d233370e8e67957b2e651fff294684b96a62b9b Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 29 Oct 2020 08:38:51 -0700 Subject: [PATCH] Explorer: disable sentry error for cluster stats timeout (#13283) --- explorer/src/providers/stats/solanaClusterStats.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/explorer/src/providers/stats/solanaClusterStats.tsx b/explorer/src/providers/stats/solanaClusterStats.tsx index 52bd9e7844..726136e5d3 100644 --- a/explorer/src/providers/stats/solanaClusterStats.tsx +++ b/explorer/src/providers/stats/solanaClusterStats.tsx @@ -212,11 +212,9 @@ export function SolanaClusterStatsProvider({ children }: Props) { type: PerformanceInfoActionType.SetError, data: "Cluster stats timed out", }); - if (cluster !== Cluster.Custom) { - reportError(new Error("Cluster stats timed out"), { url }); - } + console.error("Cluster stats timed out"); setActive(false); - }, [cluster, url]); + }, []); const retry = React.useCallback(() => { resetData();