mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-13 00:32:58 -07:00
Fix logger for email notification exception
This commit is contained in:
parent
0097532f4a
commit
9b5e01c319
1 changed files with 1 additions and 2 deletions
|
@ -1399,8 +1399,7 @@ class EMAIL(Notifier):
|
|||
success = True
|
||||
|
||||
except Exception as e:
|
||||
logger.error("Tautulli Notifiers :: {name} notification failed: {e}".format(
|
||||
name=self.NAME, e=str(e).decode('utf-8')))
|
||||
logger.error("Tautulli Notifiers :: %s notification failed: %s", self.NAME, e)
|
||||
|
||||
finally:
|
||||
if mailserver:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue