Browse files

2nd attempt at not catching the connection error, push it up so the u…

…ser can handle it (for now)
  • Loading branch information...
Zuhaib M Siddique
Zuhaib M Siddique committed Mar 5, 2014
1 parent eb5986b commit b9c7f2005d039575887699f213b73b3c3c302928
Showing with 1 addition and 0 deletions.
  1. +1 −0 txes/
@@ -56,6 +56,7 @@ def execute(self, method, path, body=None, params=None):
def decode_json(body_string):
return anyjson.deserialize(body_string)
def eb(reason):
+ reason.trap(client.error.Error)
status = int(reason.value.status)
body = decode_json(reason.value.response)

0 comments on commit b9c7f20

Please sign in to comment.