[svn r38095] getremoteerror does not raise!
--HG-- branch : trunk
This commit is contained in:
parent
337eea81cb
commit
6e58395de0
|
@ -33,17 +33,11 @@ class MasterNode(object):
|
||||||
# send start report
|
# send start report
|
||||||
self.reporter(repevent.SendItem(self.channel, item))
|
self.reporter(repevent.SendItem(self.channel, item))
|
||||||
except IOError:
|
except IOError:
|
||||||
|
print "Sending error, channel IOError"
|
||||||
try:
|
print channel._getremoterror()
|
||||||
channel._getremoterror()
|
# XXX: this should go as soon as we'll have proper detection
|
||||||
except:
|
# of hanging nodes and such
|
||||||
# if this were not remote, we've got no clue
|
raise
|
||||||
excinfo = py.code.ExceptionInfo()
|
|
||||||
for i in excinfo.traceback:
|
|
||||||
print str(i)[2:-1]
|
|
||||||
print excinfo
|
|
||||||
else:
|
|
||||||
raise
|
|
||||||
|
|
||||||
def itemgen(colitems, reporter, keyword, reporterror):
|
def itemgen(colitems, reporter, keyword, reporterror):
|
||||||
def rep(x):
|
def rep(x):
|
||||||
|
|
Loading…
Reference in New Issue