do not crash on failed provider
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
Родитель
ad390e1b7d
Коммит
bb81f6ca84
|
@ -111,9 +111,11 @@ class ProviderService {
|
|||
}
|
||||
|
||||
$this->providerIdMustBeUnique($provider);
|
||||
|
||||
$provider->loadProvider();
|
||||
$this->providers[] = $provider;
|
||||
try {
|
||||
$provider->loadProvider();
|
||||
$this->providers[] = $provider;
|
||||
} catch (Exception $e) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче