Exception [ 0 ]: property not found

APPPATH/classes/Controller/Site.php [ 122 ]

117         // TODO: buscar dados do imovel na API ou cache local
118         $result = SourceApi::property($codigoIndicacao, $authKey);
119         
120         if (!isset($result['referencia'])) {
121         	// deu ruim!
122         	throw new Exception("property not found");
123         }
124         
125         $propertyData = $this->enrichPropertyData($result);
126         
127         $data = [
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Site->action_imovel()

  2. {PHP internal call} » Kohana_Controller->execute()

  3. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  6. DOCROOT/index.php [ 116 ] » Kohana_Request->execute()

Environment