1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-07-31 02:10:22 +02:00

Merge pull request #1473 from alexleeelkins/master

Fix grammatical error
This commit is contained in:
Jordi Boggiano
2020-07-08 20:59:43 +02:00
committed by GitHub

View File

@@ -169,7 +169,7 @@ class StreamHandler extends AbstractProcessingHandler
$status = mkdir($dir, 0777, true);
restore_error_handler();
if (false === $status && !is_dir($dir)) {
throw new \UnexpectedValueException(sprintf('There is no existing directory at "%s" and its not buildable: '.$this->errorMessage, $dir));
throw new \UnexpectedValueException(sprintf('There is no existing directory at "%s" and it could not be created: '.$this->errorMessage, $dir));
}
}
$this->dirCreated = true;