Handle errors from worker initialization

This commit is contained in:
Drew DeVault 2019-01-13 20:06:18 -05:00
parent c047b068c2
commit a409a9faa5

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,