Skip to content

Commit

Permalink
add msg details to figure #160
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Oct 27, 2024
1 parent fe7b6bb commit 9fd1f6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/events/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ func (l *TelegramListener) procEvents(update tbapi.Update) error {
}

log.Printf("[DEBUG] incoming msg: %+v", strings.ReplaceAll(msg.Text, "\n", " "))
log.Printf("[DEBUG] incoming msg details: %+v", msg)
if err := l.Locator.AddMessage(msg.Text, fromChat, msg.From.ID, msg.From.Username, msg.ID); err != nil {
log.Printf("[WARN] failed to add message to locator: %v", err)
}
Expand Down

0 comments on commit 9fd1f6c

Please sign in to comment.