Skip to content

Commit

Permalink
update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Pettit committed Mar 20, 2024
1 parent 3249b08 commit e485c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nornir_nautobot/plugins/tasks/dispatcher/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def generate_config(
if isinstance(exc.result.exception, jinja2.exceptions.UndefinedError): # pylint: disable=no-else-raise
error_msg = (
f"`E1010:` There was a jinja2.exceptions.UndefinedError error: ``{str(exc.result.exception)}``"
f"\nStack trace: {stack_trace}"
f"```\n{stack_trace}```"
)
logger.error(error_msg, extra={"object": obj})
raise NornirNautobotException(error_msg)
Expand Down

0 comments on commit e485c7e

Please sign in to comment.