mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 00:34:05 +02:00
IcingaObject: fix use of unused exception
This commit is contained in:
parent
20f0168bc7
commit
a9b2910657
@ -858,7 +858,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
||||
{
|
||||
$this->assertGroupsSupport();
|
||||
if (! $this instanceof IcingaHost) {
|
||||
throw new ProgrammingError('getAppliedGroups is only available for hosts currently!');
|
||||
throw new RuntimeException('getAppliedGroups is only available for hosts currently!');
|
||||
}
|
||||
|
||||
$type = strtolower($this->getType());
|
||||
|
Loading…
x
Reference in New Issue
Block a user