Skip to content

Commit

Permalink
*: Address comment
Browse files Browse the repository at this point in the history
log error in session.Auth()
  • Loading branch information
shenli committed Sep 22, 2015
1 parent 302d4fc commit 036796e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions session.go
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ func (s *session) Auth(user string, auth []byte, salt []byte) bool {
}
row, err := rs[0].Next()
if err != nil {
log.Warnf("Encounter error when auth user %s. Error: %v", user, err)
return false
}
if row == nil || len(row.Data) == 0 {
Expand Down

0 comments on commit 036796e

Please sign in to comment.