comparison vendor/symfony/http-kernel/Fragment/InlineFragmentRenderer.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
78 $level = ob_get_level(); 78 $level = ob_get_level();
79 try { 79 try {
80 return SubRequestHandler::handle($this->kernel, $subRequest, HttpKernelInterface::SUB_REQUEST, false); 80 return SubRequestHandler::handle($this->kernel, $subRequest, HttpKernelInterface::SUB_REQUEST, false);
81 } catch (\Exception $e) { 81 } catch (\Exception $e) {
82 // we dispatch the exception event to trigger the logging 82 // we dispatch the exception event to trigger the logging
83 // the response that comes back is simply ignored 83 // the response that comes back is ignored
84 if (isset($options['ignore_errors']) && $options['ignore_errors'] && $this->dispatcher) { 84 if (isset($options['ignore_errors']) && $options['ignore_errors'] && $this->dispatcher) {
85 $event = new GetResponseForExceptionEvent($this->kernel, $request, HttpKernelInterface::SUB_REQUEST, $e); 85 $event = new GetResponseForExceptionEvent($this->kernel, $request, HttpKernelInterface::SUB_REQUEST, $e);
86 86
87 $this->dispatcher->dispatch(KernelEvents::EXCEPTION, $event); 87 $this->dispatcher->dispatch(KernelEvents::EXCEPTION, $event);
88 } 88 }