Merge remote-tracking branch 'origin/support/3.0' into support/3.1

This commit is contained in:
Timothee
2024-06-21 12:41:17 +02:00
2 changed files with 19 additions and 1 deletions

View File

@@ -1148,7 +1148,7 @@ class ObjectFormManager extends FormManager
{
$this->oObject->DBWrite();
} catch (CoreCannotSaveObjectException $e) {
throw new Exception($e->getHtmlMessage());
throw new Exception($e->getTextMessage());
} catch (InvalidExternalKeyValueException $e) {
ExceptionLog::LogException($e, $e->getContextData());
$bExceptionLogged = true;