mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Caught a previous uncaught exception.
This commit is contained in:
parent
7b983bc921
commit
6df8eed142
@ -125,6 +125,10 @@ def search(log, *args, **kwargs):
|
||||
except SOAP.faultType, e:
|
||||
log.exception('Uncaught SOAP error:')
|
||||
raise callbacks.Error, 'Invalid Google license key.'
|
||||
except xml.sax.SAXException, e:
|
||||
log.exception('Uncaught SAX error:')
|
||||
raise callbacks.Error, 'Google returned an unparseable response. ' \
|
||||
'The full traceback has been logged.'
|
||||
|
||||
class Google(callbacks.PrivmsgCommandAndRegexp, configurable.Mixin):
|
||||
threaded = True
|
||||
|
Loading…
Reference in New Issue
Block a user