Handle errors from worker initialization
This commit is contained in:
parent
c047b068c2
commit
a409a9faa5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue