Commit 4b428c1b authored by skummer's avatar skummer

ZP-118

- fixed: only try to access DeviceManager if it's available

git-svn-id: https://z-push.org/svn/z-push/trunk@1324 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 37382c34
...@@ -264,7 +264,8 @@ include_once('version.php'); ...@@ -264,7 +264,8 @@ include_once('version.php');
} }
// Announce exception to process loop detection // Announce exception to process loop detection
ZPush::GetDeviceManager()->AnnounceProcessException($ex); if (ZPush::GetDeviceManager(false))
ZPush::GetDeviceManager()->AnnounceProcessException($ex);
// Announce exception if the TopCollector if available // Announce exception if the TopCollector if available
ZPush::GetTopCollector()->AnnounceInformation(get_class($ex), true); ZPush::GetTopCollector()->AnnounceInformation(get_class($ex), true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment