diff --git a/application/Espo/Entities/ExternalAccount.php b/application/Espo/Entities/ExternalAccount.php index 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 Integration try { return DateTime::fromString($raw); - } catch (RuntimeException) { + } catch (Exception) { return null; } }