Skip to content

Commit

Permalink
fix(login): err check
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Dec 6, 2022
1 parent c262778 commit 1a97d0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/login/desktop.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ func Desktop(ctx context.Context, desktop, passcode string) error {
Path: consts.KVPath,
NS: ns,
})
if err != nil {
return err
}

// process path that points to Telegram executable file
stat, err := os.Stat(desktop)
Expand Down

0 comments on commit 1a97d0f

Please sign in to comment.