Properly log the exception to the trigger deactivation problem warning.
This commit is contained in:
parent
f8a1535e78
commit
c561ce5a06
1 changed files with 1 additions and 1 deletions
|
@ -1573,7 +1573,7 @@ def delete_build_trigger(namespace, repository, trigger_uuid):
|
||||||
handler.deactivate(trigger.auth_token, config_dict)
|
handler.deactivate(trigger.auth_token, config_dict)
|
||||||
except TriggerDeactivationException as ex:
|
except TriggerDeactivationException as ex:
|
||||||
# We are just going to eat this error
|
# 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,
|
log_action('delete_repo_trigger', namespace,
|
||||||
{'repo': repository, 'trigger_id': trigger_uuid,
|
{'repo': repository, 'trigger_id': trigger_uuid,
|
||||||
|
|
Reference in a new issue