@anonymous-piwik-user opened this Issue on June 16th 2012

Hi,
the exception thrown by Site::get method could use some clarifications:


--- core/Site.php       (revision 6479)
+++ core/Site.php       (working copy)
@@ -118,7 +118,7 @@
        {
                if(!isset(self::$infoSites[$this->id][$name]))
                {
-                       throw new Exception('The requested website id = '.(int)$this->id.' couldn\'t be found');
+                       throw new Exception('The requested website id = '.(int)$this->id.' or property '.$name.' couldn\'t be found');
                }
                return self::$infoSites[$this->id][$name];
        }
@mattab commented on July 31st 2012 Owner

(In [6611]) Fixes #3226 Thanks for the suggestion @ai

This Issue was closed on July 31st 2012
Powered by GitHub Issue Mirror