mirror of https://github.com/matrix-org/gomatrix
Removed logging and fixed formatting
This commit is contained in:
parent
3c91bb314d
commit
07fa859cf3
|
@ -9,7 +9,6 @@ import (
|
|||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"path"
|
||||
|
@ -564,9 +563,8 @@ func (cli *Client) UploadToContentRepo(content io.Reader, contentType string, co
|
|||
Code: res.StatusCode,
|
||||
}
|
||||
}
|
||||
log.Printf("Upload request failed: %s", string(contents))
|
||||
return nil, HTTPError{
|
||||
Message: "Upload request failed" + string(contents),
|
||||
Message: "Upload request failed: " + string(contents),
|
||||
Code: res.StatusCode,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue