Skip to content

Commit

Permalink
logging function missing argument (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
kacem-expereo authored Jun 14, 2023
1 parent b755541 commit 0362e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautobot_golden_config/utilities/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def render_jinja_template(obj, logger, template):
"Jinja encountered an unexpected TemplateError; check the template for correctness\n"
f"Template:\n{template}"
)
logger.log_failure(error_msg)
logger.log_failure(obj, error_msg)
raise NornirNautobotException from error


Expand Down

0 comments on commit 0362e7c

Please sign in to comment.