mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-18 15:18:08 +02:00
CI fixes
This commit is contained in:
@@ -83,6 +83,7 @@ class ErrorLogHandler extends AbstractProcessingHandler
|
||||
$lines = preg_split('{[\r\n]+}', (string) $record->formatted);
|
||||
if ($lines === false) {
|
||||
$pcreErrorCode = preg_last_error();
|
||||
|
||||
throw new \RuntimeException('Failed to preg_split formatted string: ' . $pcreErrorCode . ' / '. Utils::pcreLastErrorMessage($pcreErrorCode));
|
||||
}
|
||||
foreach ($lines as $line) {
|
||||
|
Reference in New Issue
Block a user