Skip to content

Commit

Permalink
Merge pull request #238 from networktocode/dga-vlan-error-warn
Browse files Browse the repository at this point in the history
Change log level from error to warning when device is missing
  • Loading branch information
dgarros authored Nov 30, 2021
2 parents 2f4e882 + ec0d508 commit 11ae627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network_importer/adapters/nautobot_api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def translate_attrs_for_nautobot(self, attrs):
try:
device = self.diffsync.get(self.diffsync.device, identifier=device_name)
except ObjectNotFound:
LOGGER.error(
LOGGER.warning(
"Found an associated device on Vlan %s that doesn't exist (%s)",
self.get_unique_id(),
device_name,
Expand Down

0 comments on commit 11ae627

Please sign in to comment.