mirror of https://github.com/caronc/apprise
MQTT Service logs a successful transmission (#946)
parent
15e16ad53a
commit
1b2d1ca824
|
@ -427,6 +427,10 @@ class NotifyMQTT(NotifyBase):
|
||||||
self.logger.debug('Socket Exception: %s' % str(e))
|
self.logger.debug('Socket Exception: %s' % str(e))
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
if not has_error:
|
||||||
|
# Verbal notice
|
||||||
|
self.logger.info('Sent MQTT notification')
|
||||||
|
|
||||||
return not has_error
|
return not has_error
|
||||||
|
|
||||||
def url(self, privacy=False, *args, **kwargs):
|
def url(self, privacy=False, *args, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue