Skip to content

Commit

Permalink
Fix exception sampling logic
Browse files Browse the repository at this point in the history
  • Loading branch information
damccorm authored Nov 11, 2024
1 parent 2488ca1 commit a76adea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/runners/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1608,7 +1608,7 @@ def _reraise_augmented(self, exn, windowed_value=None):
_, _, tb = exc_info

new_exn = new_exn.with_traceback(tb)
self._maybe_sample_exception(exc_info, windowed_value)
self._maybe_sample_exception(new_exn, windowed_value)
_LOGGER.exception(new_exn)
raise new_exn

Expand Down

0 comments on commit a76adea

Please sign in to comment.