Skip to content

Improve error message handling in exceptions - #641

Merged
max-wittig merged 1 commit into
masterfrom
refactor/excpetion_msg
Nov 28, 2018
Merged

Improve error message handling in exceptions#641
max-wittig merged 1 commit into
masterfrom
refactor/excpetion_msg

Conversation

@gpocentek

Copy link
Copy Markdown
Contributor
  • Depending on the request Gitlab has a 'message' or 'error' attribute
    in the json data, handle both
  • Add some consistency by converting messages to unicode or str for
    exceptions (depending on the python version)

Closes #616

* Depending on the request Gitlab has a 'message' or 'error' attribute
in the json data, handle both
* Add some consistency by converting messages to unicode or str for
exceptions (depending on the python version)

Closes #616
@max-wittig
max-wittig merged commit 7bd41cb into master Nov 28, 2018
@gpocentek
gpocentek deleted the refactor/excpetion_msg branch June 20, 2019 06:26
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

Successfully merging this pull request may close these issues.

2 participants