diff --git a/core/dbobject.class.php b/core/dbobject.class.php index 178b4036f..588670093 100644 --- a/core/dbobject.class.php +++ b/core/dbobject.class.php @@ -2404,7 +2404,8 @@ abstract class DBObject implements iDisplay } catch (Exception $e) { - throw $e; + $aErrors = array($e->getMessage()); + throw new CoreCannotSaveObjectException(array('id' => $this->GetKey(), 'class' => $sClass, 'issues' => $aErrors)); } finally {