Commit 5d68f129 authored by Jürgen Enge's avatar Jürgen Enge
Browse files

correction of error message

parent abfe9e57
Pipeline #10418 passed with stages
in 5 minutes and 11 seconds
......@@ -185,7 +185,7 @@ func (ms *memoServer) mainHandler(w http.ResponseWriter, req *http.Request) {
_, err = os.Stat(path)
if os.IsNotExist(err) {
// if file not exist send 404
ms.DoPanicf(w, http.StatusNotFound, "file not found: %ms", path)
ms.DoPanicf(w, http.StatusNotFound, "file not found: %s", path)
http.Error(w, err.Error(), http.StatusNotFound)
return
} else if err != nil {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment