mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 00:04:05 +02:00
DbObject: make key name obvious when setting...
...an invalid property
This commit is contained in:
parent
501f76c368
commit
1e893e1bc7
@ -317,7 +317,7 @@ abstract class DbObject
|
|||||||
|
|
||||||
if (! $this->hasProperty($key)) {
|
if (! $this->hasProperty($key)) {
|
||||||
throw new InvalidArgumentException(sprintf(
|
throw new InvalidArgumentException(sprintf(
|
||||||
'Trying to set invalid key %s',
|
'Trying to set invalid key "%s"',
|
||||||
$key
|
$key
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user