Skip to content

Commit 83b676e

Browse files
committed
Suggestions
1 parent bc90d64 commit 83b676e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

espresso/cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,12 @@ func BatchStreamerFromCLIConfig[B Batch](
178178

179179
l1Client, err := ethclient.Dial(cfg.L1URL)
180180
if err != nil {
181-
return nil, fmt.Errorf("failed to dial L1 RPC: %w", err)
181+
return nil, fmt.Errorf("failed to dial L1 RPC at %s: %w", cfg.L1URL, err)
182182
}
183183

184184
RollupL1Client, err := ethclient.Dial(cfg.RollupL1URL)
185185
if err != nil {
186-
return nil, fmt.Errorf("failed to dial Rollup L1 RPC: %w", err)
186+
return nil, fmt.Errorf("failed to dial Rollup L1 RPC at %s: %w", cfg.RollupL1URL, err)
187187
}
188188

189189
espressoClient, err := espressoClient.NewMultipleNodesClient(cfg.QueryServiceURLs)

0 commit comments

Comments
 (0)