Skip to content
New issue

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

save command results? #59

Closed
mehdikazemnia opened this issue Jan 3, 2015 · 2 comments
Closed

save command results? #59

mehdikazemnia opened this issue Jan 3, 2015 · 2 comments

Comments

@mehdikazemnia
Copy link

Hi
simply I can save my image by this:

$layer->save($dirPath, $filename, $createFolders, $backgroundColor, $imageQuality);

but how can I detect if uploading was successful?
is there any method to get that?
or I should do that myself?

thank you

@jdecool
Copy link
Collaborator

jdecool commented Mar 25, 2015

Hello @mahdikazemnia ,

I plan to add some exception when error occurred in save process.

When it will be merge, you will detect error by adding a try ... catch bloc in your code.

@jdecool
Copy link
Collaborator

jdecool commented Mar 27, 2015

Master just update with this feature.

Now when the save process fail, an exception is created.

New tag coming soon.

@jdecool jdecool closed this as completed Mar 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants