Explorer: disable sentry error for cluster stats timeout (#13283)
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user