From 8653b5b9288417c60ebfcc04a7be785287339f1c Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sun, 7 May 2017 20:26:12 -0700 Subject: [PATCH] Update log error message --- plexpy/notification_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plexpy/notification_handler.py b/plexpy/notification_handler.py index 253fb1af..779bf32a 100644 --- a/plexpy/notification_handler.py +++ b/plexpy/notification_handler.py @@ -207,7 +207,8 @@ def notify_custom_conditions(notifier_id=None, parameters=None): logic_groups = helpers.parse_condition_logic_string(custom_conditions_logic, len(custom_conditions)) logic_string = helpers.nested_list_to_string(logic_groups) except ValueError as e: - logger.error(u"PlexPy NotificationHandler :: Unable to parse custom condition logic: %s." % e) + logger.error(u"PlexPy NotificationHandler :: Unable to parse custom condition logic '%s': %s." + % (custom_conditions_logic, e)) return False param_types = {param['value']: param['type']