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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

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