IcingaObjectAssignments: show type on error

This commit is contained in:
Thomas Gelf 2016-03-24 13:24:52 +01:00
parent d1aafd7a4a
commit 349954e1c3
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class IcingaObjectAssignments
if (! $object->isApplyRule()) {
throw new ProgrammingError(
'I can only assign for applied objects, got %s',
$object->object_name
$object->object_type
);
}