Skip to content

Commit

Permalink
add missing error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
brenol committed Oct 17, 2020
1 parent f03a0b2 commit 2d5bc7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gui/gui.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ func gridLayout(w *widgets) (*gridOpts, error) {
container.ID(chartID),
container.BorderTitle("Percentiles (ms)"),
}, w.p99Legend.text, w.p90Legend.text, w.p95Legend.text, w.p50Legend.text)
if err != nil {
return nil, err
}

return &gridOpts{
latency: latencyOpts,
Expand Down

0 comments on commit 2d5bc7a

Please sign in to comment.