Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.9.9/client.rb: Catch empty version responses.
Sometimes sphinx will reply with an empty version (for unknown reasons). The exception raised is a "undefined method `<' for nil:NilClass" which is both confusing and inconvenient to target for rescuing. This patch catches such errors and raises a proper Riddle exception instead.
- Loading branch information