Skip to content

Commit

Permalink
rebuild_mode: use logging.exception for failed task wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed Dec 18, 2024
1 parent 79d36ff commit 15530e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/otaclient/create_standby/rebuild_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _wrapped(entry: FileTableBase):
try:
return _func(entry)
except Exception as e:
burst_suppressed_logger.warning(f"failed to process {entry}: {e!r}")
burst_suppressed_logger.exception(f"failed to process {entry}: {e!r}")

return _wrapped

Expand Down

0 comments on commit 15530e3

Please sign in to comment.