EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
fix exception
Yurii049be51f9c50
diff --git a/application/Espo/Entities/ExternalAccount.php b/application/Espo/Entities/ExternalAccount.phpindex a2fed7b079..5e8b048ac8 100644--- a/application/Espo/Entities/ExternalAccount.php+++ b/application/Espo/Entities/ExternalAccount.php@@ -30,7 +30,7 @@namespace Espo\Entities;use Espo\Core\Field\DateTime;-use RuntimeException;+use Exception;class ExternalAccount extends Integration{@@ -97,7 +97,7 @@ class ExternalAccount extends Integrationtry {return DateTime::fromString($raw);- } catch (RuntimeException) {+ } catch (Exception) {return null;}}