mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-24 03:29:28 +01:00
Forget to catch the actual exception instance in callCommand.
This commit is contained in:
parent
9e7a37e5bf
commit
4e4855094c
@ -92,7 +92,7 @@ class Http(callbacks.Privmsg):
|
|||||||
callbacks.Privmsg.callCommand(self, method, irc, msg, *L)
|
callbacks.Privmsg.callCommand(self, method, irc, msg, *L)
|
||||||
except socket.gaierror, e:
|
except socket.gaierror, e:
|
||||||
irc.error(msg, e.args[1])
|
irc.error(msg, e.args[1])
|
||||||
except urllib2.HTTPError:
|
except urllib2.HTTPError, r:
|
||||||
irc.error(msg, str(e))
|
irc.error(msg, str(e))
|
||||||
|
|
||||||
_titleRe = re.compile(r'<title>(.*?)</title>', re.I | re.S)
|
_titleRe = re.compile(r'<title>(.*?)</title>', re.I | re.S)
|
||||||
|
Loading…
Reference in New Issue
Block a user