mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-02-08 12:36:58 +00:00
Gateway: Fixed EOF not reconnecting bug
This commit is contained in:
parent
f22d6eaa9f
commit
73ba62605b
|
@ -97,8 +97,7 @@ func (p *PacemakerLoop) startLoop() error {
|
|||
|
||||
o, err := DecodeOP(ev)
|
||||
if err != nil {
|
||||
p.errorLog(errors.Wrap(err, "Failed to decode OP"))
|
||||
continue // ignore
|
||||
return errors.Wrap(err, "Failed to decode OP")
|
||||
}
|
||||
|
||||
// Check the events before handling.
|
||||
|
|
Loading…
Reference in a new issue