1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-28 01:33:10 +00:00

When in doubt, use brute force.

This commit is contained in:
diamondburned (Forefront) 2020-01-18 22:46:45 -08:00
parent 841128dc88
commit 6b6f9f96aa

View file

@ -212,8 +212,9 @@ func (g *Gateway) Open() error {
continue
}
// Else, fatal
return errors.Wrap(err, "Failed to start gateway")
// Else, keep retrying
g.ErrorLog(errors.Wrap(err, "Failed to start gateway"))
continue
}
// Started successfully, return