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,
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();