forked from tangled.org/core
this repo has no description

knotserver: more logging in repo.blob

Signed-off-by: oppiliappan <me@oppi.li>

oppi.li b3303e84 4132d1b9

verified
Changed files
+1 -1
knotserver
+1 -1
knotserver/xrpc/repo_blob.go
···
contents, err := gr.RawContent(treePath)
if err != nil {
-
x.Logger.Error("file content", "error", err.Error())
writeError(w, xrpcerr.NewXrpcError(
xrpcerr.WithTag("FileNotFound"),
xrpcerr.WithMessage("file not found at the specified path"),
···
contents, err := gr.RawContent(treePath)
if err != nil {
+
x.Logger.Error("file content", "error", err.Error(), "treePath", treePath)
writeError(w, xrpcerr.NewXrpcError(
xrpcerr.WithTag("FileNotFound"),
xrpcerr.WithMessage("file not found at the specified path"),