diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-01-13 20:06:18 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-01-13 20:06:18 -0500 |
commit | a409a9faa50ef6669ab7ebd7f3d8e286deebc1eb (patch) | |
tree | 81742a93260dfbe9f1d86864604c31d51467c452 /widgets | |
parent | c047b068c279ef49ae8e95b180d7b7fe0ec5b815 (diff) | |
download | aerc-a409a9faa50ef6669ab7ebd7f3d8e286deebc1eb.tar.gz |
Handle errors from worker initialization
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/account.go | 2 |
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, |