mirror of
https://github.com/caronc/apprise.git
synced 2024-12-01 04:24:08 +01:00
added Telegram log entry when attachment inaccessible
This commit is contained in:
parent
5c746d0b03
commit
e992d02bb4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user