From 8ca16661d8ff48fee7cd12a37bf3bead61ffee7b Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 22 Mar 2020 15:51:53 +0100 Subject: warning message --- src/http/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http') 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 } -- cgit 1.4.1