added check for IOError

This commit is contained in:
John Dickinson 2012-01-17 10:35:22 -06:00
parent fed1581e93
commit feab1eb1c7

View File

@ -157,7 +157,7 @@ class LogUploader(Daemon):
continue
try:
self.upload_one_log(filename, **match)
except (OSError, zlib.error):
except (OSError, zlib.error, IOError):
self.logger.exception(
_('ERROR: could not upload %s') % filename)