mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Avoid trace on deleted node
If a node is deleted, act similar to if it were defined with no console.method, to avoid superfluous trace output. In the future, it may make sense to filter out nodes with no console.method earlier, since a fair amount of startup work is done that is ultimately ignored for situations where console is not enabled.
This commit is contained in:
parent
28ba40ccfa
commit
659c4e4217
@ -312,7 +312,7 @@ class ConsoleHandler(object):
|
||||
self._console = plugin.handle_path(
|
||||
self._plugin_path.format(self.node),
|
||||
"create", self.cfgmgr)
|
||||
except exc.NotImplementedException:
|
||||
except (exc.NotImplementedException, exc.NotFoundException):
|
||||
self._console = None
|
||||
except:
|
||||
_tracelog.log(traceback.format_exc(), ltype=log.DataTypes.event,
|
||||
|
Loading…
Reference in New Issue
Block a user