Fix logger for email notification exception

This commit is contained in:
JonnyWong16 2020-07-02 12:45:45 -07:00
parent 0097532f4a
commit 9b5e01c319
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -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: