Improved error handling of oonibclient

It's counterpart is in https://github.com/TheTorProject/ooni-backend/pull/52
Why is this exception defined but never used?