added Telegram log entry when attachment inaccessible

This commit is contained in:
Chris Caron 2019-12-08 20:55:54 -05:00
parent 5c746d0b03
commit e992d02bb4

View File

@ -273,7 +273,10 @@ class NotifyTelegram(NotifyBase):
mimetype = attach.mimetype mimetype = attach.mimetype
if not path: if not path:
# Could not load attachment # We could not access the attachment
self.logger.warning(
'Could not access {}.'.format(
attach.url(privacy=True)))
return False return False
# Process our attachment # Process our attachment