EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Error message change
Yurii4ad70dd74107
diff --git a/application/Espo/Core/Record/Formula/Processor.php b/application/Espo/Core/Record/Formula/Processor.phpindex 2ffa2c9807..48b991c837 100644--- a/application/Espo/Core/Record/Formula/Processor.php+++ b/application/Espo/Core/Record/Formula/Processor.php@@ -110,7 +110,9 @@ class Processor} catch (WrapperException $e) {throw $e->getWrappedException();} catch (FormulaError $e) {- throw new RuntimeException('Before save API script error.', previous: $e);+ $entityType = $entity->getEntityType();++ throw new RuntimeException("Before-save formula API script failed for '$entityType'.", previous: $e);}}