Skip to content
This repository has been archived by the owner on Dec 17, 2020. It is now read-only.

Commit

Permalink
reset proxy.error on a successfull call
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Groszer committed Jan 8, 2008
1 parent 4fb5e5b commit 37941e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/z3c/json/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def __request(self, request):
try:
response = self.__transport.request(self.__host, self.__handler,
request, verbose=self.__verbose)
self.error = None
except ResponseError, e:
# catch error message
self.error = unicode(e)
Expand Down

0 comments on commit 37941e3

Please sign in to comment.