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 untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
1 changed files with 1 additions and 0 deletions

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