diff --git a/plugins/Google/plugin.py b/plugins/Google/plugin.py index 1edafa76c..edd9f829b 100644 --- a/plugins/Google/plugin.py +++ b/plugins/Google/plugin.py @@ -278,7 +278,8 @@ class Google(callbacks.PluginRegexp): json = simplejson.load(fd) fd.close() if json['responseStatus'] != 200: - raise callbacks.Error, 'We broke The Google!' + raise callbacks.Error, 'Google says: Response Status %s: %s.' % \ + (json['responseStatus'], json['responseDetails'],) if fromLang != '': irc.reply(json['responseData']['translatedText'].encode('utf-8')) else: