From 4cfcf859a34580a093cd1acd34f83b2abf713522 Mon Sep 17 00:00:00 2001 From: kozabrada123 <“kozabrada123@users.noreply.github.com”> Date: Sat, 6 May 2023 11:14:38 +0200 Subject: [PATCH] Add a debug to heartbeat thread --- src/gateway.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gateway.rs b/src/gateway.rs index dbf52b2..756f7f7 100644 --- a/src/gateway.rs +++ b/src/gateway.rs @@ -259,6 +259,8 @@ impl HeartbeatHandler { if last_heartbeat.elapsed().as_millis() > heartbeat_interval { + println!("Debug GW: Sending Heartbeat"); + let heartbeat = GatewayHeartbeat { op: 1, d: last_seq_number