fix error log
This commit is contained in:
parent
934d2d8881
commit
af7c1d8da1
@ -4787,6 +4787,7 @@ abstract class CommonObject
|
|||||||
if (! $resql)
|
if (! $resql)
|
||||||
{
|
{
|
||||||
$this->error=$this->db->lasterror();
|
$this->error=$this->db->lasterror();
|
||||||
|
dol_syslog(get_class($this) . "::".__METHOD__ . $this->error, LOG_ERR);
|
||||||
$this->db->rollback();
|
$this->db->rollback();
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user