Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpettit committed Mar 24, 2024
1 parent 6f215d0 commit b097ff5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nornir_nautobot/plugins/tasks/dispatcher/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ def generate_config(
jinja_env=jinja_env,
)[0].result
except NornirSubTaskError as exc:
if logger.getEffectiveLevel() == logging.DEBUG:
print("Debugging is on")
else:
print("Debugging is off")
stack_trace = get_stack_trace(exc.result.exception)

error_mapping = {
Expand Down

0 comments on commit b097ff5

Please sign in to comment.