Skip to content

Commit

Permalink
squash: add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
happz committed May 30, 2024
1 parent bcf403f commit 71a3cab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tmt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2468,6 +2468,8 @@ def render_run_exception(exception: RunError) -> Iterator[str]:


def render_exception_stack(exception: BaseException) -> Iterator[str]:
""" Render traceback of the given exception """

exception_traceback = traceback.TracebackException(
type(exception),
exception,
Expand Down

0 comments on commit 71a3cab

Please sign in to comment.