mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
N°7581 Improve error message readability during object creation/modification in the portal (regression introduced with N°7545)
This commit is contained in:
@@ -1167,7 +1167,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;
|
||||
|
||||
Reference in New Issue
Block a user