diff --git a/td.go b/td.go index 80b5864..4e4f8b3 100644 --- a/td.go +++ b/td.go @@ -201,6 +201,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { if msg.ID == 22799187968 { x, err := json.Marshal(msg) + logOnError(err, "Marshal") fmt.Printf("DUMP:\n%s\n", x) return }