EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
cleanup
Yuri Kuznetsov587ab9a4928d
diff --git a/application/Espo/Core/Mail/Account/SendingAccountProvider.php b/application/Espo/Core/Mail/Account/SendingAccountProvider.phpindex 5d97cde104..80e8ad42e9 100644--- a/application/Espo/Core/Mail/Account/SendingAccountProvider.php+++ b/application/Espo/Core/Mail/Account/SendingAccountProvider.php@@ -122,7 +122,7 @@ class SendingAccountProvidertry {return $this->groupAccountFactory->create($entity->getId());- } catch (Error $e) {+ } catch (Error) {throw new RuntimeException();}}@@ -153,7 +153,7 @@ class SendingAccountProvidertry {return $this->groupAccountFactory->create($entity->getId());- } catch (Error $e) {+ } catch (Error) {throw new RuntimeException();}}@@ -195,7 +195,7 @@ class SendingAccountProvidertry {return $this->personalAccountFactory->create($entity->getId());- } catch (Error $e) {+ } catch (Error) {throw new RuntimeException();}}@@ -250,7 +250,7 @@ class SendingAccountProvidertry {$this->system = $this->groupAccountFactory->create($entity->getId());- } catch (Error $e) {+ } catch (Error) {throw new RuntimeException();}}