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

Returning error whern something goes wrong #9

Open
sdecandelario opened this issue Jun 19, 2014 · 2 comments
Open

Returning error whern something goes wrong #9

sdecandelario opened this issue Jun 19, 2014 · 2 comments

Comments

@sdecandelario
Copy link

When and error ocurrs, the response return an empty array, would be nice if the error is returned or something you can debug.

@rukbat
Copy link
Owner

rukbat commented Jun 20, 2014

I agree, I don't like the empty array too (it's inherited from FaliconBitlyPHP library). Bitly API returns an array with some info (status, error code), we could return it. Or do you have some suggeestions?

@sdecandelario
Copy link
Author

No, i think if you can return the array with all the info are a greate one, because you then can debug all the error info. That's be great, thanks :)

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

No branches or pull requests

2 participants