Add error message
This commit is contained in:
parent
08a731ab39
commit
71da27f333
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue