Add error message

This commit is contained in:
Laurent Destailleur 2019-05-27 16:40:06 +02:00
parent 08a731ab39
commit 71da27f333

View File

@ -4604,6 +4604,7 @@ class FactureLigne extends CommonInvoiceLine
if ($result <= 0)
{
$this->error='ErrorProductIdDoesNotExists';
dol_syslog(get_class($this)."::insert Error ".$this->error, LOG_ERR);
return -1;
}
}