diff --git a/oslo/messaging/notify/notifier.py b/oslo/messaging/notify/notifier.py index d76d8b081..8181558e1 100644 --- a/oslo/messaging/notify/notifier.py +++ b/oslo/messaging/notify/notifier.py @@ -144,7 +144,9 @@ class Notifier(object): _LOG.exception("Problem '%(e)s' attempting to send to " "notification system. Payload=%(payload)s", dict(e=e, payload=payload)) - self._driver_mgr.map(do_notify) + + if self._driver_mgr.extensions: + self._driver_mgr.map(do_notify) def debug(self, ctxt, event_type, payload): """Send a notification at debug level.