Handle errors from worker initialization

This commit is contained in:
Drew DeVault 2019-01-13 20:06:18 -05:00
parent c047b068c2
commit a409a9faa5
1 changed files with 1 additions and 1 deletions

View File

@ -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,