1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-02-12 22:43:32 +00:00

Gateway: Fixed EOF not reconnecting bug

This commit is contained in:
diamondburned (Forefront) 2020-05-06 16:06:06 -07:00
parent f22d6eaa9f
commit 73ba62605b

View file

@ -97,8 +97,7 @@ func (p *PacemakerLoop) startLoop() error {
o, err := DecodeOP(ev) o, err := DecodeOP(ev)
if err != nil { if err != nil {
p.errorLog(errors.Wrap(err, "Failed to decode OP")) return errors.Wrap(err, "Failed to decode OP")
continue // ignore
} }
// Check the events before handling. // Check the events before handling.