Handle errors from worker initialization
This commit is contained in:
parent
c047b068c2
commit
a409a9faa5
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue