Skip to content

Commit

Permalink
collect: do not log exc_info
Browse files Browse the repository at this point in the history
This might mislead the user to believe it's an error. See

iterative/dvc#10309 (comment)
  • Loading branch information
skshetry authored Mar 23, 2024
1 parent 5887a8b commit 6eb8028
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/dvc_data/index/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,7 @@ def collect( # noqa: C901, PLR0912, PLR0915
except (NotImplementedError, AttributeError):
fsid = data.fs.protocol
except BaseException as exc: # noqa: BLE001
logger.debug(
"skipping index collection for data with invalid fsid",
exc_info=exc,
)
logger.debug("skipping index collection for data with invalid fsid")
continue

key = (fsid, tokenize(data.path))
Expand Down

0 comments on commit 6eb8028

Please sign in to comment.