Argh, ended up being namespace issue with Exception. Need the backslash. So the code should look like:
public function listGrouptypes()
{
$url = $this->paths['groups']['listGrouptypes'];
$request = $this->fetchGetRequest($url);
try {
return $this->client->send($request);
} catch (\Exception $ex) {
\Log::error($ex);
}
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community