Properly log the exception to the trigger deactivation problem warning.

This commit is contained in:
jakedt 2014-03-06 14:48:46 -05:00
parent f8a1535e78
commit c561ce5a06

View file

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