Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

Catches exception when sending a request. #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

attheshow
Copy link

#164 Catches exceptions when sending a request to Amazon.

$result = $this->client->send($request);
}
catch (RequestException $e) {
return NULL;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An exception is already throw in send method. You can try/catch runOperation method not ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants