mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-2605_fix-unittest-bootstrap_4.1
remove debug
This commit is contained in:
@@ -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']);
|
||||
|
@@ -43,6 +43,7 @@ class LocaleServiceProvider implements ServiceProviderInterface
|
||||
|
||||
if (0 === count($enabledLanguages)) {
|
||||
$app['monolog']->error('Wrong language configuration, no language activated');
|
||||
|
||||
return $availableLanguages;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user