aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-13 20:06:18 -0500
committerDrew DeVault <sir@cmpwn.com>2019-01-13 20:06:18 -0500
commita409a9faa50ef6669ab7ebd7f3d8e286deebc1eb (patch)
tree81742a93260dfbe9f1d86864604c31d51467c452 /widgets
parentc047b068c279ef49ae8e95b180d7b7fe0ec5b815 (diff)
Handle errors from worker initialization
Diffstat (limited to 'widgets')
-rw-r--r--widgets/account.go2
1 files changed, 1 insertions, 1 deletions
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,