Commit 5befd8c6 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Better error reporting in activitycontrol thread

parent 1a35e411
......@@ -210,12 +210,12 @@ class ActivityControlThread(threading.Thread):
dlf.writedebug(msgs.TRANSFERSTARTCANCELED, reason=e.args, subreqid=transfer.transferId,
fileId=transfer.fileId)
# the transfer has already started somewhere else, or has been canceled, so give up
except EnvironmentError:
except EnvironmentError, e:
# we have tried to start a disk to disk copy and the source is not yet ready
# we will put it in a pending queue
# "Start postponned until source is ready" message
dlf.write(msgs.POSTPONEDFORSRCNOTREADY, subreqid=transfer.transferId,
reqid=transfer.reqId, fileId=transfer.fileId)
reqid=transfer.reqId, fileId=transfer.fileId, msg=str(e))
# put the transfer into the pending queue
self.transferQueue.d2dDestReady(scheduler, transfer)
except Exception, e:
......
Supports Markdown
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