diff --git a/library/Director/RestApi/IcingaObjectHandler.php b/library/Director/RestApi/IcingaObjectHandler.php index 703cfd7d..902d7cd3 100644 --- a/library/Director/RestApi/IcingaObjectHandler.php +++ b/library/Director/RestApi/IcingaObjectHandler.php @@ -112,7 +112,9 @@ class IcingaObjectHandler extends RequestHandler ) ); - return; + // TODO: find a better way to shut down. Currently, this avoids + // "not found" errors: + exit; } switch ($request->getMethod()) {