We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80c75d9 commit 8433ee3Copy full SHA for 8433ee3
suzieq/poller/worker/nodes/node.py
@@ -463,6 +463,15 @@ async def _detect_node_type(self):
463
# that sets the device type
464
devtype = self.devtype
465
except Exception:
466
+ self.logger.exception(f'{self.address}:{self.port}: Node '
467
+ 'discovery failed due to exception')
468
+ # All the exceptions related to timeouts and authentication
469
+ # problems are already catched inside. If we get an
470
+ # exception here, this is unexpected and most likely something
471
+ # went wrong with the command output parsing.
472
+ # In this case there is not point in retrying discovery, it is
473
+ # likely a bug.
474
+ self._retry = 0
475
devtype = None
476
477
if not devtype:
0 commit comments