IcingaObjectAssignments: show type on error
This commit is contained in:
parent
d1aafd7a4a
commit
349954e1c3
|
@ -20,7 +20,7 @@ class IcingaObjectAssignments
|
||||||
if (! $object->isApplyRule()) {
|
if (! $object->isApplyRule()) {
|
||||||
throw new ProgrammingError(
|
throw new ProgrammingError(
|
||||||
'I can only assign for applied objects, got %s',
|
'I can only assign for applied objects, got %s',
|
||||||
$object->object_name
|
$object->object_type
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue