Fixed bug that caused the reporting thread to terminate if an exception is thrown while doing FTP.

This commit is contained in:
Tom Keffer committed 2012-07-06 15:52:11 +00:00
1 parent aa9b4b4e5e
commit 0d5ce4cdd9
1 file changed
+1 -1
+1 -1
View File
@@ -173,7 +173,7 @@ class FtpUpload(object):
# Directory already exists
return
syslog.syslog(syslog.LOG_ERR, "ftpupload: Got error while attempting to make remote directory %s" % remote_dir_path)
syslog.syslog(syslog.LOG_ERR, " **** Error:" % e)
syslog.syslog(syslog.LOG_ERR, " **** Error: %s" % e)
else:
syslog.syslog(syslog.LOG_DEBUG, "ftpupload: Made directory %s" % remote_dir_path)
return