Better GitHub error messaging

Fixes #612
This commit is contained in:
Joseph Schorr 2015-10-16 13:51:50 -04:00
parent 2f42a4d94d
commit d9e001b688
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) {