mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Merge branch 'master' into bugfix/separate-sort-controls-9421
This commit is contained in:
commit
9cc7b45458
@ -59,6 +59,7 @@ class Inspection
|
||||
if ($entry instanceof Inspection) {
|
||||
$this->log[$entry->description] = $entry->toArray();
|
||||
} else {
|
||||
Logger::debug($entry);
|
||||
$this->log[] = $entry;
|
||||
}
|
||||
}
|
||||
@ -77,7 +78,8 @@ class Inspection
|
||||
if (isset($this->error)) {
|
||||
throw new ProgrammingError('Inspection object used after error');
|
||||
}
|
||||
$this->write($entry);
|
||||
Logger::error($entry);
|
||||
$this->log[] = $entry;
|
||||
$this->error = $entry;
|
||||
return $this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user