Log handled exceptions

This commit is contained in:
Pierre Rudloff 2020-10-18 12:49:44 +02:00
parent 07f19a80f4
commit 234ecc2c6d
2 changed files with 4 additions and 1 deletions

View file

@ -89,7 +89,8 @@ abstract class BaseController
$this->sessionSegment = $session->getSegment(self::class);
$this->localeManager = $this->container->get('locale');
$this->downloader = $this->config->getDownloader();
$this->downloader->setLogger($this->container->get('logger'));
$this->logger = $this->container->get('logger');
$this->downloader->setLogger($this->logger);
if (!$this->config->stream) {
// Force HTTP if stream is not enabled.