Skip to content

Commit ec0d508

Browse files
committed
Change log level from error to warning when device is missing
1 parent a778b93 commit ec0d508

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • network_importer/adapters/nautobot_api

network_importer/adapters/nautobot_api/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def translate_attrs_for_nautobot(self, attrs):
512512
try:
513513
device = self.diffsync.get(self.diffsync.device, identifier=device_name)
514514
except ObjectNotFound:
515-
LOGGER.error(
515+
LOGGER.warning(
516516
"Found an associated device on Vlan %s that doesn't exist (%s)",
517517
self.get_unique_id(),
518518
device_name,

0 commit comments

Comments
 (0)