Improve error reporting in the Freebase provider