From a409a9faa50ef6669ab7ebd7f3d8e286deebc1eb Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 13 Jan 2019 20:06:18 -0500 Subject: Handle errors from worker initialization --- widgets/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/account.go b/widgets/account.go index ebb8250..8662c0c 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -46,7 +46,7 @@ func NewAccountView( worker, err := worker.NewWorker(conf.Source, logger) if err != nil { - // TODO: Update status line with error + statusline.Set(fmt.Sprintf("%s", err)) return &AccountView{ conf: conf, grid: grid, -- cgit 1.4.1-2-gfad0