mirror of
https://github.com/caronc/apprise.git
synced 2025-01-05 21:49:02 +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))
|
||||
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…
Reference in New Issue
Block a user