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

Ugly fix to get rid of "\u" in the error raised by WinRMTransportError #168

Closed
wants to merge 1 commit into from

Conversation

zdtsw
Copy link

@zdtsw zdtsw commented May 16, 2017

'Got error :
winrm.exceptions.WinRMTransportError: (u'http', u'Bad HTTP response returned from server. Code 403')

@coveralls
Copy link

coveralls commented May 16, 2017

Coverage Status

Coverage remained the same at 67.857% when pulling 63a7bbb on zdtsw:formatting into b1a54bc on diyan:master.

@badcure
Copy link
Collaborator

badcure commented Jun 11, 2019

If you don't mind, I will close this out since it has been a while.

If you still would like to fix the messaging, I think implementing the __str__ for the exceptions themselves. It would be better overall to format it when converting the Exception to a string, rather than format it in each location it is raised.

@badcure badcure closed this Jun 11, 2019
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.

3 participants