fix handling exceptions
Merge branch 'master' of https://github.com/rikiless/SphinxSearch