-
Notifications
You must be signed in to change notification settings - Fork 57
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
Unable to see errors #5
Comments
Looks like you are correct. It looks like list actions return an error but the other actions just return a boolean. When I refactored the code I kept the interface the same. Seems like there needs to be a way to get to this info. Any ideas? |
I hadn't thought too hard on it (as of now it's not needed - knock on wood) but my expectations were along the lines of Rails' "errors" object. Since the freshbooks.rb gem doesn't require an instance (the connection is created globally) maybe a call to something like Freshbooks::Base.errors. I'd love to give it a shot and send you a pull request but right now time is at a premium. If you don't get to it, I will try to. |
was this ever implemented? I seem to receive a boolean on actions besides 'list' as well |
Tried to fix the issue here #26 |
This might be ignorance on my part but when a call fails it seems all that's returned is true or false. I don't see a way to retrieve the error that was returned from FreshBooks.
The text was updated successfully, but these errors were encountered: