diff options
Diffstat (limited to 'tvix/nar-bridge/pkg/server/nar_get.go')
-rw-r--r-- | tvix/nar-bridge/pkg/server/nar_get.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nar-bridge/pkg/server/nar_get.go b/tvix/nar-bridge/pkg/server/nar_get.go index c8c35e69ff16..d1a9426f33d4 100644 --- a/tvix/nar-bridge/pkg/server/nar_get.go +++ b/tvix/nar-bridge/pkg/server/nar_get.go @@ -171,10 +171,10 @@ func registerNarGet(s *Server) { err = renderNar(ctx, log, s.directoryServiceClient, s.blobServiceClient, &s.narHashToPathInfoMu, s.narHashToPathInfo, w, narHash, true) if err != nil { - log.WithError(err).Info("unable to render nar") if errors.Is(err, fs.ErrNotExist) { w.WriteHeader(http.StatusNotFound) } else { + log.WithError(err).Warn("unable to render nar") w.WriteHeader(http.StatusInternalServerError) } } |