diff --git a/app/login/desktop.go b/app/login/desktop.go index 374f08e681..63309467f6 100644 --- a/app/login/desktop.go +++ b/app/login/desktop.go @@ -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)