mirror of https://github.com/Mikaela/Limnoria.git
Better error handling for title command.
This commit is contained in:
parent
d7bdb77538
commit
6822cc31a7
|
@ -74,6 +74,8 @@ class Http(callbacks.Privmsg):
|
|||
irc.reply(msg, m.group(1))
|
||||
else:
|
||||
irc.reply(msg, 'That URL appears to have no HTML title.')
|
||||
except ValueError, e:
|
||||
irc.error(msg, str(e))
|
||||
except Exception, e:
|
||||
irc.error(msg, debug.exnToString(e))
|
||||
|
||||
|
|
Loading…
Reference in New Issue