Commit 14b933b0 authored by mizerydearia's avatar mizerydearia
Browse files

improve error handling

parent f6d2c156
......@@ -175,6 +175,10 @@ class MarketWorker(threading.Thread):
log.error("http response not ready:"+url.group()+" "+e.message)
self.connection.close()
return
except socket.error, e:
log.error("socket error:"+url.group()+" "+e.message)
self.connection.close()
return
except ssl.SSLError, e:
log.error("ssl error:"+url.group()+" "+e.message)
self.connection.close()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment