UFAL-DSG/alex — pull request #21 by tuetschek (2013-11-28 13:35:17+00:00)
Title: Fix to Google error OVER_QUERY_LIMIT

When Google issues an OVER_QUERY_LIMIT error (for asking too often? I don't know), the application would fail with an index-out-of-range error. This fixes it by telling the user we cannot found any connection.

This should handle any other error issued by Google as well.

Added are a few tricks for the debugging of the Google API (if no logger is specified in constructor, will just print to STDERR).