mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 22:26:41 +02:00
Fix LogRecord "extra" data leaking between handlers (#1819)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
This commit is contained in:
@@ -19,10 +19,8 @@ class ExceptionTestHandler extends TestHandler
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function handle(LogRecord $record): bool
|
||||
protected function write(LogRecord $record): void
|
||||
{
|
||||
throw new Exception("ExceptionTestHandler::handle");
|
||||
|
||||
parent::handle($record);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user