Merge pull request #657 from coreos-inc/bettergherror

Better GitHub error messaging
This commit is contained in:
josephschorr 2015-10-16 18:06:27 -04:00
commit 601b741c4e
2 changed files with 23 additions and 9 deletions

View file

@ -119,7 +119,7 @@ angular.module('quay').directive('setupTriggerDialog', function () {
$scope.canceled({'trigger': $scope.trigger});
return ApiService.getErrorMessage(resp) +
'\n\nThis usually means that you do not have admin access on the repository.';
'\n\nNote: Errors can occur if you do not have admin access on the repository.';
});
ApiService.activateBuildTrigger(data, params).then(function(resp) {