PHRAS-2605_fix-unittest-bootstrap_4.1

remove debug
This commit is contained in:
Jean-Yves Gaulier
2019-05-28 15:16:28 +02:00
parent 0cbc5a8ef4
commit 1653c2494c
4 changed files with 1 additions and 4 deletions

View File

@@ -256,7 +256,6 @@ class Application extends SilexApplication
$this->register(new OrderServiceProvider());
$this->register(new WebhookServiceProvider());
$this['monolog'] = $this->share(
$this->extend('monolog', function (LoggerInterface $logger, Application $app) {
@@ -274,7 +273,6 @@ class Application extends SilexApplication
})
);
$this['phraseanet.exception_handler'] = $this->share(function ($app) {
/** @var PhraseaExceptionHandler $handler */
$handler = PhraseaExceptionHandler::register($app['debug']);

View File

@@ -43,6 +43,7 @@ class LocaleServiceProvider implements ServiceProviderInterface
if (0 === count($enabledLanguages)) {
$app['monolog']->error('Wrong language configuration, no language activated');
return $availableLanguages;
}