Remove unnecessary errors printed on the console (#5386)

Some of the errors printed on server console can be
removed as those error message is unnecessary.

Fixes #5385
This commit is contained in:
kannappanr
2018-01-11 11:42:05 -08:00
committed by GitHub
parent 8e4eb591c1
commit 20584dc08f
13 changed files with 2 additions and 64 deletions

View File

@@ -560,7 +560,6 @@ func (web *webAPIHandlers) Upload(w http.ResponseWriter, r *http.Request) {
// Extract incoming metadata if any.
metadata, err := extractMetadataFromHeader(r.Header)
if err != nil {
errorIf(err, "found invalid http request header")
writeErrorResponse(w, ErrInternalError, r.URL)
return
}