We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
try{ $tickets = Freshdesk::tickets()->all(['tag'=>'Lead']); dd($tickets); }catch(\Exception $e) { echo $response = $e->getResponse();
}
its not showing error response ? I am using Lumen and installed freshdesk sdk via composer
The text was updated successfully, but these errors were encountered:
I had a similar issues and had to fork and modify the PHP SDK myself.
Api.php peformRequestMethod add this in the catch :
$actualError = $e->getResponse()->getBody()->getContents();
Then pass that to the ApiException
throw ApiException::create($e, $actualError);
Then modify the ApiException class to pass that error along in the __construct method.
Sorry, something went wrong.
No branches or pull requests
try{
$tickets = Freshdesk::tickets()->all(['tag'=>'Lead']);
dd($tickets);
}catch(\Exception $e) {
echo $response = $e->getResponse();
its not showing error response ?
I am using Lumen and installed freshdesk sdk via composer
The text was updated successfully, but these errors were encountered: