improve logging clarity

This commit is contained in:
akemidx 2023-06-15 15:09:14 -04:00
parent eda5bbf305
commit 00fd541963

View file

@ -38,7 +38,13 @@ class LicenseImporter extends ItemImporter
->first(); ->first();
if ($license) { if ($license) {
if (! $this->updating) { if (! $this->updating) {
if($this->item['serial'] != "") {
$this->log('A matching License ' . $this->item['name'] . ' with serial ' . $this->item['serial'] . ' already exists'); $this->log('A matching License ' . $this->item['name'] . ' with serial ' . $this->item['serial'] . ' already exists');
}
else {
$this->log('A matching License ' . $this->item['name'] . ' with no serial number already exists');
}
return; return;
} }