Explorer: disable sentry error for cluster stats timeout (#13283)

This commit is contained in:
Josh
2020-10-29 08:38:51 -07:00
committed by GitHub
parent 3738611f5c
commit 0d233370e8

View File

@ -212,11 +212,9 @@ export function SolanaClusterStatsProvider({ children }: Props) {
type: PerformanceInfoActionType.SetError, type: PerformanceInfoActionType.SetError,
data: "Cluster stats timed out", data: "Cluster stats timed out",
}); });
if (cluster !== Cluster.Custom) { console.error("Cluster stats timed out");
reportError(new Error("Cluster stats timed out"), { url });
}
setActive(false); setActive(false);
}, [cluster, url]); }, []);
const retry = React.useCallback(() => { const retry = React.useCallback(() => {
resetData(); resetData();