improved log message

This commit is contained in:
2022-11-16 08:49:33 +01:00
parent 40f95cfb6e
commit 6543226526
3 changed files with 28 additions and 29 deletions

View File

@@ -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)