comparison vendor/symfony/http-kernel/Fragment/InlineFragmentRenderer.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 129ea1e6d783
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
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 }