Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpettit committed Mar 24, 2024
1 parent 1d8a31a commit 31d637d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nornir_nautobot/plugins/tasks/dispatcher/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,6 @@ def generate_config(
jinja_env=jinja_env,
)[0].result
except NornirSubTaskError as exc:
if logger.getEffectiveLevel() == logging.DEBUG:
logger.error("DEBUG ON", extra={"object": obj})
else:
logger.error("DEBUG OFF", extra={"object": obj})
stack_trace = get_stack_trace(exc.result.exception)

error_mapping = {
Expand Down

0 comments on commit 31d637d

Please sign in to comment.