mirror of
https://github.com/caronc/apprise.git
synced 2024-11-28 11:04:07 +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
|
||||
|
||||
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
|
||||
|
||||
# Process our attachment
|
||||
|
Loading…
Reference in New Issue
Block a user