commit 931341e7b92f25527dc5894fafb8a6ff4c645ff5
parent 18454a1fe6f19aa9cdd780128a713066ee23ba9d
Author: Christoph Lohmann <20h@r-36.net>
Date: Thu, 20 Mar 2014 06:42:31 +0100
Handle some HTTP sub exception.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/zs.py b/zs.py
@@ -45,6 +45,9 @@ def run(db, selfeed=None, dryrun=False):
except http.client.IncompleteRead:
estr = "incompleteread"
continue
+ except http.client.BadStatusLine:
+ estr = "badstatusline"
+ continue
if curfeed == None:
continue