diff --git a/library/Director/Objects/IcingaService.php b/library/Director/Objects/IcingaService.php index 43cc53a1..9479ef78 100644 --- a/library/Director/Objects/IcingaService.php +++ b/library/Director/Objects/IcingaService.php @@ -795,7 +795,7 @@ class IcingaService extends IcingaObject implements ExportInterface && $this->get('host_id') === null ) { throw new InvalidArgumentException( - 'Cannot store a Service object without a related host' + 'Cannot store a Service object without a related host or set: ' . $this->getObjectName() ); } }