Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rescue IndexError in first? and move on to next segment (#864)
If a msg file is a few bytes larger than expected, first? will throw an IndexError and close the queue. This changes that behavior to instead rescue that IndexError and try to move on to the next segment file. Same fix as for shift? in #671 fixes #669 (again 🙂)
- Loading branch information