Skip to content

Commit

Permalink
Fix format for E1014
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpettit committed Mar 21, 2024
1 parent 2152549 commit 0fea167
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 @@ -189,7 +189,7 @@ def generate_config(
logger.error(error_msg, extra={"object": obj})
raise NornirNautobotException(error_msg)

error_msg = f"`E1014:` Unknown error - {exc.result.exception}\n```\n{stack_trace}\n```"
error_msg = f"`E1014:` Unknown error - `{exc.result.exception}`"
logger.error(error_msg, extra={"object": obj})
raise NornirNautobotException(error_msg)

Expand Down

0 comments on commit 0fea167

Please sign in to comment.