Skip to content

Commit

Permalink
fix(emozi): print username only
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Oct 13, 2024
1 parent 4cf296c commit 50be1bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/emozi/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ func init() {
usr = emozi.NewUser(arr[0], arr[1])
err = usr.Login()
if err != nil {
logrus.Infoln("[emozi]", "以", usr, "身份登录失败:", err)
logrus.Infoln("[emozi]", "以", arr[0], "身份登录失败:", err)
usr = emozi.Anonymous()
} else {
logrus.Infoln("[emozi]", "以", usr, "身份登录成功")
logrus.Infoln("[emozi]", "以", arr[0], "身份登录成功")
hasaccount = true
}
}
Expand Down

0 comments on commit 50be1bb

Please sign in to comment.