mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 17:16:18 +02:00
Add level parameter to payload when reporting Rollbar exceptions (#852)
This commit is contained in:
committed by
Jordi Boggiano
parent
25da38373a
commit
81e8bf6189
@@ -97,6 +97,7 @@ class RollbarHandler extends AbstractProcessingHandler
|
||||
));
|
||||
|
||||
if (isset($context['exception']) && $context['exception'] instanceof Exception) {
|
||||
$payload['level'] = $context['level'];
|
||||
$exception = $context['exception'];
|
||||
unset($context['exception']);
|
||||
|
||||
|
Reference in New Issue
Block a user