From c561ce5a0658c0f3a3b6831a769359fa182914cd Mon Sep 17 00:00:00 2001 From: jakedt Date: Thu, 6 Mar 2014 14:48:46 -0500 Subject: [PATCH] Properly log the exception to the trigger deactivation problem warning. --- endpoints/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/api.py b/endpoints/api.py index 3108ce537..8160c730f 100644 --- a/endpoints/api.py +++ b/endpoints/api.py @@ -1573,7 +1573,7 @@ def delete_build_trigger(namespace, repository, trigger_uuid): handler.deactivate(trigger.auth_token, config_dict) except TriggerDeactivationException as ex: # We are just going to eat this error - logger.warning('Trigger deactivation problem.', ex) + logger.warning('Trigger deactivation problem: %s', ex) log_action('delete_repo_trigger', namespace, {'repo': repository, 'trigger_id': trigger_uuid,