Skip to content

Commit

Permalink
Clarify a Shard sequence-off message
Browse files Browse the repository at this point in the history
A warning message by the Shard stated that the "Heartbeat [is] off",
when it's actually the sequence that is off.
  • Loading branch information
Zeyla Hellyer committed Apr 26, 2018
1 parent 42063a2 commit 7f9c01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gateway/shard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ impl Shard {
match *event {
Ok(GatewayEvent::Dispatch(seq, ref event)) => {
if seq > self.seq + 1 {
warn!("[Shard {:?}] Heartbeat off; them: {}, us: {}", self.shard_info, seq, self.seq);
warn!("[Shard {:?}] Sequence off; them: {}, us: {}", self.shard_info, seq, self.seq);
}

match *event {
Expand Down

0 comments on commit 7f9c01e

Please sign in to comment.