Log missing indicator plugin

This commit is contained in:
Peter Šurda 2017-12-02 00:45:01 +01:00
parent 4ee9d05446
commit 3b86dfc639
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -1294,6 +1294,7 @@ class MyForm(settingsmixin.SMainWindow):
try:
self.indicatorUpdate = get_plugin('indicator')(self)
except (NameError, TypeError):
logger.warning("No indicator plugin found")
self.indicatorUpdate = _noop_update
# initialise the message notifier