Reduce zmodem debugging
This commit is contained in:
@@ -273,7 +273,9 @@ final class Send extends Item
|
||||
}
|
||||
|
||||
$this->file_pos += strlen($data);
|
||||
Log::debug(sprintf('%s: - Read [%d] bytes, file pos now [%d]',self::LOGKEY,strlen($data),$this->file_pos));
|
||||
|
||||
if ($this->DEBUG)
|
||||
Log::debug(sprintf('%s: - Read [%d] bytes, file pos now [%d]',self::LOGKEY,strlen($data),$this->file_pos));
|
||||
|
||||
if ($data === FALSE)
|
||||
throw new UnreadableFileEncountered('Error reading file: '.$this->sending->file_name);
|
||||
|
Reference in New Issue
Block a user