Skip to content

Commit

Permalink
Add more info to the a WebSocket provider error
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowfiend committed Jan 7, 2025
1 parent 47d5b38 commit 73231ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion background/services/chain/serial-fallback-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,11 @@ export default class SerialFallbackProvider extends JsonRpcProvider {
this.subscriptions.push(subscription)
} else {
logger.warn(
"Current provider is not a WebSocket provider; subscription " +
"Current provider ",
this.currentProvider,
" for ",
this.network,
"is not a WebSocket provider; subscription " +
"will not work until a WebSocket provider connects.",
)
}
Expand Down

0 comments on commit 73231ad

Please sign in to comment.