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
1 changed files with 1 additions and 2 deletions

View File

@ -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.