diff --git a/Script/cs/Threads/CopyThread.py b/Script/cs/Threads/CopyThread.py index da0f9b3326e1dc6b6ff0d66b9ba550a574aff954..41688b090ae2f1e8b61084bf04b54bdd0b123148 100644 --- a/Script/cs/Threads/CopyThread.py +++ b/Script/cs/Threads/CopyThread.py @@ -319,6 +319,12 @@ class CopyThread(threading.Thread): self.logger.warning('transfer failure: %s; reason: %s; retries: %d/%d', filename, reason, transfer.retry, self.conf.MaxCopyImmediateRetry) + # early notification of humans for known issues that require their intervention + # critical log usually means email (good for getting human attention) + if 'disk quota exceeded' in reason.lower(): + self.logger.critical('no space left in remote directory: %s', + transfer.file_info.remote_dir) + if transfer.retry < self.conf.MaxCopyImmediateRetry: self.simple_transfer_failures += 1