improved log message
This commit is contained in:
2
main.go
2
main.go
@@ -227,7 +227,7 @@ func housekeeping() {
|
||||
log.Warningf("[HK] last shareCode for player %d does not match player", tPlayer.ID)
|
||||
continue
|
||||
} else if errors.Is(err, utils.NoMatchError) {
|
||||
log.Infof("[HK] tracked player with no matched found, untrack him")
|
||||
log.Infof("[HK] tracked player %d with no matches found, untracked", tPlayer.ID)
|
||||
err = tPlayer.Update().ClearAuthCode().ClearSharecodeUpdated().Exec(context.Background())
|
||||
if err != nil {
|
||||
log.Errorf("[HK] Unable to clear authcode for player %d: %v", tPlayer.ID, err)
|
||||
|
Reference in New Issue
Block a user