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

Merge branch '1.x'

This commit is contained in:
Jordi Boggiano
2018-06-08 21:08:04 +02:00
5 changed files with 147 additions and 15 deletions

View File

@@ -181,7 +181,7 @@ class RavenHandler extends AbstractProcessingHandler
}
if (isset($record['context']['exception']) && $record['context']['exception'] instanceof \Throwable) {
$options['extra']['message'] = $record['formatted'];
$options['message'] = $record['formatted'];
$this->ravenClient->captureException($record['context']['exception'], $options);
} else {
$this->ravenClient->captureMessage($record['formatted'], [], $options);