Support the ongoing development of Laravel.io →
Configuration Requests Testing
Last updated 2 years ago.
0

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);
        }

    } 
Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.