diff options
author | Emile <hanemile@protonmail.com> | 2020-03-22 15:51:53 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-03-22 15:51:53 +0100 |
commit | 8ca16661d8ff48fee7cd12a37bf3bead61ffee7b (patch) | |
tree | 5d829d85c22ecc2c4bbeec4fe9b6eff50fcf6e34 | |
parent | 3f31893ac900aaf79a33fd87bf7bb5b0081069eb (diff) |
warning message
-rw-r--r-- | src/http/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/http.go b/src/http/http.go index 2402d05..f487cfd 100644 --- a/src/http/http.go +++ b/src/http/http.go @@ -169,7 +169,7 @@ func pathHandler(w http.ResponseWriter, r *http.Request) { // get all files in the request dir files, err := ioutil.ReadDir(requestPath) if err != nil { - logrus.Warn(err) + logrus.Warnf("Could not read the content of the request dir: %s", err) return } |