LegacyStorage: fix exception message

This commit is contained in:
Thomas Gelf 2015-10-01 22:38:43 +02:00
parent b63ebad3d6
commit cdbbabd9ea

View file

@ -163,7 +163,7 @@ class LegacyStorage extends Storage
$file = $this->currentFilename = $this->getFilename($name);
$fh = @fopen($file, 'r');
if (! $fh) {
throw new SystemPermissionException('Could not open ' . $file);
throw new SystemPermissionException('Could not open "%s"', $file);
}
$this->parsing_line_number = 0;