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:
d66da40
)
Catch InvalidURL requests exception.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 19 Jan 2016 21:46:52 +0000
(22:46 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 19 Jan 2016 21:46:52 +0000
(22:46 +0100)
plomlombot.py
patch
|
blob
|
history
diff --git
a/plomlombot.py
b/plomlombot.py
index 3e4734fa2ec2403aa093768623e1ca9b189d5cd8..767d1f71a156c5a744c8d80ed08802ad97af0127 100755
(executable)
--- a/
plomlombot.py
+++ b/
plomlombot.py
@@
-114,6
+114,7
@@
def lineparser_loop(io, nickname):
r = requests.get(url, timeout=15)
except (requests.exceptions.TooManyRedirects,
requests.exceptions.ConnectionError,
+ requests.exceptions.InvalidURL,
requests.exceptions.InvalidSchema) as error:
notice("TROUBLE FOLLOWING URL: " + str(error))
continue