mirror of
https://github.com/caronc/apprise.git
synced 2025-06-26 20:51:22 +02: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))
|
||||
return False
|
||||
|
||||
if not has_error:
|
||||
# Verbal notice
|
||||
self.logger.info('Sent MQTT notification')
|
||||
|
||||
return not has_error
|
||||
|
||||
def url(self, privacy=False, *args, **kwargs):
|
||||
|
Loading…
x
Reference in New Issue
Block a user