diff --git a/htdocs/contact/class/contact.class.php b/htdocs/contact/class/contact.class.php index d35526b1f13..e9b7067853b 100644 --- a/htdocs/contact/class/contact.class.php +++ b/htdocs/contact/class/contact.class.php @@ -744,6 +744,7 @@ class Contact extends CommonObject else { $this->db->rollback(); + dol_syslog("Error ".$this->error,LOG_ERR); return -1; } }