Skip to content

Commit

Permalink
Fix panic?
Browse files Browse the repository at this point in the history
  • Loading branch information
buger committed Jun 11, 2018
1 parent d389f6e commit 6d5c762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@ func generateToken(orgID, keyID string) string {
token, err := storage.GenerateToken(orgID, keyID, config.Global().HashKeyFunction)

if err != nil {
log.WithError(err).WithFields(logrus.Fields{
log.WithFields(logrus.Fields{
"prefix": "auth-mgr",
"orgID": orgID,
}).Warning("Issue during token generation")
}).WithError(err).Warning("Issue during token generation")
}

return token
Expand Down

0 comments on commit 6d5c762

Please sign in to comment.