mirror of
https://github.com/caronc/apprise.git
synced 2025-01-22 05:49:23 +01:00
MQTT Service logs a successful transmission (#946)
This commit is contained in:
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
Block a user