home
·
contact
·
privacy
projects
/
plomlombot-irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbd3353
)
Add idna Unicode decoding error handler to URL follower.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 5 Feb 2016 10:41:54 +0000
(11:41 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 5 Feb 2016 10:41:54 +0000
(11:41 +0100)
plomlombot.py
patch
|
blob
|
history
diff --git
a/plomlombot.py
b/plomlombot.py
index 0dd9823612d83c84a54e3e935197589f88ea3d15..ed0279279076217fb192ce3f49a76c570d90c111 100755
(executable)
--- a/
plomlombot.py
+++ b/
plomlombot.py
@@
-293,6
+293,7
@@
def handle_url(url, notice, show_url=False):
except (requests.exceptions.TooManyRedirects,
requests.exceptions.ConnectionError,
requests.exceptions.InvalidURL,
+ UnicodeError,
requests.exceptions.InvalidSchema) as error:
notice("TROUBLE FOLLOWING URL: " + str(error))
return