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)
|
worker, err := worker.NewWorker(conf.Source, logger)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// TODO: Update status line with error
|
statusline.Set(fmt.Sprintf("%s", err))
|
||||||
return &AccountView{
|
return &AccountView{
|
||||||
conf: conf,
|
conf: conf,
|
||||||
grid: grid,
|
grid: grid,
|
||||||
|
|
Loading…
Reference in a new issue