Skip to content

Commit

Permalink
Merge pull request OffchainLabs#1906 from OffchainLabs/fix-metrics-st…
Browse files Browse the repository at this point in the history
…art-error-msg

Fix log message for error starting metrics
  • Loading branch information
Tristan-Wilson authored Oct 7, 2023
2 parents 0181c5d + 5fef660 commit 71ec8f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/nitro-val/nitro_val.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func mainImpl() int {
}

if err := startMetrics(nodeConfig); err != nil {
log.Error("Starting metrics: %v", err)
log.Error("Error starting metrics", "error", err)
return 1
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/nitro/nitro.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func mainImpl() int {
}

if err := startMetrics(nodeConfig); err != nil {
log.Error("Starting metrics: %v", err)
log.Error("Error starting metrics", "error", err)
return 1
}

Expand Down

0 comments on commit 71ec8f6

Please sign in to comment.