Skip to content

Commit b8ba385

Browse files
author
vpaladiychuk
committed
MAGETWO-34990: Eliminate exceptions from the list
1 parent 2defbdb commit b8ba385

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Backup/Model/Backup.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,9 @@ public function open($write = false)
286286
$this->varDirectory->delete($this->_getFilePath());
287287
}
288288
if (!$write && !$this->varDirectory->isFile($this->_getFilePath())) {
289-
throw new \Magento\Framework\Exception\InputException(__('The backup file "%1" does not exist.', $this->getFileName()));
289+
throw new \Magento\Framework\Exception\InputException(
290+
__('The backup file "%1" does not exist.', $this->getFileName())
291+
);
290292
}
291293

292294
$mode = $write ? 'wb' . self::COMPRESS_RATE : 'rb';

0 commit comments

Comments
 (0)