mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-19 23:56:17 +02:00
Removed obsolete var_export(). Made construction argument validation tests simpler and more readable.
This commit is contained in:
@@ -115,7 +115,7 @@ class ProcessHandler extends AbstractProcessingHandler
|
||||
|
||||
$errors = $this->readProcessErrors();
|
||||
if (empty($errors) === false) {
|
||||
throw new \UnexpectedValueException('Errors while writing to process: ' . var_export($errors, true));
|
||||
throw new \UnexpectedValueException(sprintf('Errors while writing to process: %s', $errors));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user