Skip to content

Conversation

functionary
Copy link

This pull request was made with an automated tool.

The suggested change fixes one or more problems discovered by "go vet".

See https://github.com/functionary/functionary for more details on
the @functionary GitHub user.

Vet found the following errors:
	lib/proxy.go:87: result of fmt.Errorf call not used
	lib/proxy.go:97: result of fmt.Errorf call not used
	lib/proxy.go:105: result of fmt.Errorf call not used

These are pointless calls because fmt.Errorf just creates an error
value; it is then discarded without reporting the error to the user.

This commit changes the fmt.Errorf calls to log.Printf calls so
the error is logged.
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.

1 participant