diff options
author | Florian Klink <flokli@flokli.de> | 2023-12-12T13·49+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-12-12T18·07+0000 |
commit | afd09c32907fd3267de3fb63df281b842ed6b736 (patch) | |
tree | c82d631a6e16e80deaa8295bf7fe5e66e6d9b587 /tvix/castore | |
parent | 30d82efa774f72e6d33c2070b32d365121654c54 (diff) |
feat(tvix/castore/import): log returned errors r/7208
This will emit a log event / trace in case this function returns an error-y type. Change-Id: I48db6807f3e42304357c422a2b6e177cb8b95228 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10329 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/castore')
-rw-r--r-- | tvix/castore/src/import.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/castore/src/import.rs b/tvix/castore/src/import.rs index a31bb22a622a..6b24c7a52b22 100644 --- a/tvix/castore/src/import.rs +++ b/tvix/castore/src/import.rs @@ -145,7 +145,7 @@ async fn process_entry<'a>( /// else giving it a "non-content-addressed name". /// It's up to the caller to possibly register it somewhere (and potentially /// rename it based on some naming scheme) -#[instrument(skip(blob_service, directory_service), fields(path=?p))] +#[instrument(skip(blob_service, directory_service), fields(path=?p), err)] pub async fn ingest_path<P: AsRef<Path> + Debug>( blob_service: Arc<dyn BlobService>, directory_service: Arc<dyn DirectoryService>, |