Merge branch 'rustedbuilds' of ssh://bitbucket.org/yackob03/quay into rustedbuilds

This commit is contained in:
jakedt 2014-03-03 18:45:48 -05:00
commit 7add6679b6
3 changed files with 4 additions and 4 deletions

View file

@ -1435,8 +1435,7 @@ def activate_build_trigger(namespace, repository, trigger_uuid):
trigger.auth_token, new_config_dict)
except TriggerActivationException as e:
token.delete_instance()
abort(400, message = e.msg)
return
return request_error(message=e.message)
# Save the updated config.
trigger.config = json.dumps(final_config)