about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-03-22 15:51:53 +0100
committerEmile <hanemile@protonmail.com>2020-03-22 15:51:53 +0100
commit8ca16661d8ff48fee7cd12a37bf3bead61ffee7b (patch)
tree5d829d85c22ecc2c4bbeec4fe9b6eff50fcf6e34 /src
parent3f31893ac900aaf79a33fd87bf7bb5b0081069eb (diff)
warning message
Diffstat (limited to 'src')
-rw-r--r--src/http/http.go2
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
 	}