private function RemoveExceptionFrameVarsIntegration::processEvent in Raven: Sentry Integration 3.x
1 call to RemoveExceptionFrameVarsIntegration::processEvent()
File
- src/
Integration/ RemoveExceptionFrameVarsIntegration.php, line 42
Class
- RemoveExceptionFrameVarsIntegration
- Removes function calling arguments from exception stack frames.
Namespace
Drupal\raven\IntegrationCode
private function processEvent(Event $event, Options $options) : void {
// Remove function calling arguments from exception stack frames.
foreach ($event
->getExceptions() as $exception) {
foreach ($exception
->getStacktrace()
->getFrames() as $frame) {
$frame
->setVars([]);
}
}
}