private function SanitizeIntegration::processEvent in Raven: Sentry Integration 3.x
1 call to SanitizeIntegration::processEvent()
- SanitizeIntegration::setupOnce in src/
Integration/ SanitizeIntegration.php
File
- src/
Integration/ SanitizeIntegration.php, line 47
Class
- SanitizeIntegration
- Sanitizes sensitive data, such as passwords, before sending to Sentry.
Namespace
Drupal\raven\IntegrationCode
private function processEvent(Event $event, Options $options) : void {
$request = $event
->getRequest();
if (!empty($request['data']['pass'])) {
$request['data']['pass'] = self::STRING_MASK;
}
$event
->setRequest($request);
}