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:
parent
f22d6eaa9f
commit
73ba62605b
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue