1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-02 11:20:31 +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); $status = mkdir($dir, 0777, true);
restore_error_handler(); restore_error_handler();
if (false === $status && !is_dir($dir)) { 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; $this->dirCreated = true;