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

WriteError return its argument as error status instead result of WriteErrorString #415

Closed
renkam opened this issue Oct 24, 2019 · 2 comments

Comments

@renkam
Copy link

renkam commented Oct 24, 2019

In function

func (r *Response) WriteError(httpStatus int, err error) error {
WriteError argument err is returned instead of result of calling WriteErrorString.

@emicklei
Copy link
Owner

good catch. this needs to be changed

@emicklei
Copy link
Owner

emicklei commented Nov 4, 2019

i will close this as the fix has been pushed to master

@emicklei emicklei closed this as completed Nov 4, 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

No branches or pull requests

2 participants