Skip to content

Commit

Permalink
More logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
kak-tus committed Aug 28, 2023
1 parent a3d71f5 commit ef0c681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (hdl *InstanceObj) processMsg(ctx context.Context, msg *tgbotapi.Message) e
}

log := hdl.log.With().Int64("chat_id", msg.Chat.ID).
Str("chat", msg.Chat.UserName).Logger()
Str("chat_name", msg.Chat.UserName).Str("chat_title", msg.Chat.Title).Logger()

// In case of newbie we got count >0, for ordinary user count=0
if cnt > 0 && cnt <= 4 {
Expand Down

0 comments on commit ef0c681

Please sign in to comment.