Skip to content

Commit

Permalink
Apply ruff/tryceratops rule TRY401
Browse files Browse the repository at this point in the history
TRY401 Redundant exception object included in `logging.exception` call
  • Loading branch information
DimitriPapadopoulos committed Jun 29, 2024
1 parent 102f56a commit b9c8b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setuptools_scm/hg.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get_meta(self, config: Configuration) -> ScmVersion | None:
return meta(tag, config=config, node_date=node_date)

except ValueError as e:
log.exception("error %s", e)
log.exception("error")
pass # unpacking failed, old hg

return None
Expand Down

0 comments on commit b9c8b66

Please sign in to comment.