You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2020. It is now read-only.
Methods in gitlab client return barely False without any err_msg info. I think the error message is very useful in many cases, hoping error message would be supported soon.
I'm still working on getting all the old methods switched over to the new pattern witch will fix this issue. Though to keep backwards compatibility I'm adding new methods and calling them from the old ones. This will allow users to keep there old code and replace it with new code when/where they want to.
I wasn't aware of that method. It looks like it should work better then the pattern that I currently have implemented. If you want to submit a PR I would be happy to test and commit it right away.
Activity
Sudo-Kid commentedon May 16, 2017
They are being worked on at the moment.
Sudo-Kid commentedon May 17, 2017
Another issue for a switch away from True/False to add error messages. #224
Sudo-Kid commentedon May 17, 2017
I'm still working on getting all the old methods switched over to the new pattern witch will fix this issue. Though to keep backwards compatibility I'm adding new methods and calling them from the old ones. This will allow users to keep there old code and replace it with new code when/where they want to.
e4r7hbug commentedon Jul 6, 2017
Instead of keeping a list of good status codes for each call, have you considered using the
raise_for_status()method?The
HTTPErrorexception that raises gives us access to the original response that we can use.Sudo-Kid commentedon Jul 6, 2017
I wasn't aware of that method. It looks like it should work better then the pattern that I currently have implemented. If you want to submit a PR I would be happy to test and commit it right away.
e4r7hbug commentedon Jul 6, 2017
Cool. I'll see if I can get something for you going then.