FIX change LOG_DEBUG with LOG_WARNING in syslog and remove sql error in syslog (already done)

This commit is contained in:
lvessiller 2021-08-24 16:21:55 +02:00
parent 4efe2a0e09
commit a4a44faa7f

View File

@ -1735,12 +1735,11 @@ class Facture extends CommonInvoice
return 1;
} else {
dol_syslog(__METHOD__ . ' Invoice with id=' . $rowid . ' or ref=' . $ref . ' or ref_ext=' . $ref_ext . ' not found', LOG_DEBUG);
dol_syslog(__METHOD__ . ' Invoice with id=' . $rowid . ' or ref=' . $ref . ' or ref_ext=' . $ref_ext . ' not found', LOG_WARNING);
return 0;
}
} else {
$this->error = $this->db->lasterror();
dol_syslog(__METHOD__ . ' Error : ' . $this->error, LOG_ERR);
return -1;
}
}