rundaca2.py: better error output
This commit is contained in:
parent
0ba23c28bf
commit
535526680c
|
@ -52,7 +52,7 @@ def upload(localfolder, webfolder):
|
||||||
child.interact()
|
child.interact()
|
||||||
return
|
return
|
||||||
except (IOError, OSError, pexpect.TIMEOUT, pexpect.EOF):
|
except (IOError, OSError, pexpect.TIMEOUT, pexpect.EOF):
|
||||||
print('Sleep for 10 seconds..')
|
print('rundaca2.py: Upload failed. Sleep for 10 seconds..')
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
tries = tries + 1
|
tries = tries + 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue