From 049be51f9c50efb45c321b14ad4312582b2fa1e5 Mon Sep 17 00:00:00 2001 From: Yurii Date: Tue, 13 Jan 2026 11:34:37 +0200 Subject: [PATCH] fix exception --- application/Espo/Entities/ExternalAccount.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }