fix: return err if openState errors
This commit is contained in:
parent
0b66b2aca9
commit
2f0851bcad
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ func Run(token string) error {
|
|||
} else {
|
||||
mainFlex = newMainFlex()
|
||||
if err := openState(token); err != nil {
|
||||
app.Stop()
|
||||
return err
|
||||
}
|
||||
|
||||
app.SetRoot(mainFlex, true)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue