Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tyleroooo committed Jan 8, 2025
1 parent 4c2c710 commit 7344cbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/abacus-ts/websocket/lib/indexerWebsocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export class IndexerWebsocket {
const channel = message.channel;
const id = message.id;
if (this.subscriptions[channel] == null) {
// hide error for channel we expect to see it on
if (channel !== 'v4_orderbook') {
logAbacusTsError(
'IndexerWebsocket',
Expand All @@ -192,6 +193,7 @@ export class IndexerWebsocket {
return;
}
if (this.subscriptions[channel][id ?? NO_ID_SPECIAL_STRING_ID] == null) {
// hide error for channel we expect to see it on
if (channel !== 'v4_orderbook') {
logAbacusTsError(
'IndexerWebsocket',
Expand Down

0 comments on commit 7344cbb

Please sign in to comment.