Skip to content

Commit

Permalink
Fix Linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpettit committed Mar 21, 2024
1 parent 15076b7 commit 201e684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nornir_nautobot/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def import_string(dotted_path):
except (ModuleNotFoundError, AttributeError):
return None


def get_stack_trace(exc: Exception) -> str:
"""Generate and format a stack trace string for a given Jinja exception."""
stack_trace_lines = traceback.format_exception(type(exc), exc, exc.__traceback__)
Expand Down

0 comments on commit 201e684

Please sign in to comment.