about summary refs log tree commit diff
path: root/tvix/nar-bridge/pkg/server/narinfo_put.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-09-18T09·03+0300
committerflokli <flokli@flokli.de>2023-09-18T14·02+0000
commitdd7cc6ed689d01d14588ec09202b5aae5fb5c9a8 (patch)
treefd9a600fffa29132b9d94fca481fc217fa3b49f9 /tvix/nar-bridge/pkg/server/narinfo_put.go
parent749ab6721634c18ba9867d77e9e6d0e9860b6990 (diff)
fix(tvix/nar-bridge): don't log error on simple 404s r/6612
`nix copy` checks if NARs and NARInfo files are present, before
uploading them. That's not an error, but normal behaviour, so no need to
log with level info for these cases.

We only want to log if the error is not a 404, and log with Warn level.

Change-Id: I762de3b862d070a0f18bc62e324e94ca5c7c3693
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9359
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nar-bridge/pkg/server/narinfo_put.go')
0 files changed, 0 insertions, 0 deletions