Fix missing format variable
This commit is contained in:
parent
ebdc873e47
commit
6c6dacd042
|
@ -119,7 +119,7 @@ func (s *HTTPServer) FileCatRequest(resp http.ResponseWriter, req *http.Request)
|
|||
return nil, err
|
||||
}
|
||||
if fileInfo.IsDir {
|
||||
return nil, fmt.Errorf("file %q is a directory")
|
||||
return nil, fmt.Errorf("file %q is a directory", path)
|
||||
}
|
||||
|
||||
r, err := fs.ReadAt(path, int64(0), fileInfo.Size)
|
||||
|
|
Loading…
Reference in a new issue