public static function ExceptionSubscriber::getSubscribedEvents in New Relic 8
Same name and namespace in other branches
- 2.x src/EventSubscriber/ExceptionSubscriber.php \Drupal\new_relic_rpm\EventSubscriber\ExceptionSubscriber::getSubscribedEvents()
- 2.0.x src/EventSubscriber/ExceptionSubscriber.php \Drupal\new_relic_rpm\EventSubscriber\ExceptionSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ ExceptionSubscriber.php, line 36
Class
- ExceptionSubscriber
- Provides a way to send Exceptions to the New Relic API.
Namespace
Drupal\new_relic_rpm\EventSubscriberCode
public static function getSubscribedEvents() {
// Ensure this runs just before FinalExceptionSubscriber.
$events[KernelEvents::EXCEPTION][] = [
'onException',
-255,
];
return $events;
}