From d500c1bb40437092571669a372040119e903e93e Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Fri, 20 Sep 2019 11:23:03 -0400 Subject: [PATCH] Don't alert user of 403 errors for webhook key --- awx/ui/client/src/templates/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awx/ui/client/src/templates/main.js b/awx/ui/client/src/templates/main.js index c6bfa06dd8..a1aa074d49 100644 --- a/awx/ui/client/src/templates/main.js +++ b/awx/ui/client/src/templates/main.js @@ -305,6 +305,9 @@ angular.module('templates', [surveyMaker.name, jobTemplates.name, labels.name, p return data.webhook_key || ''; }) .catch(({data, status}) => { + if (status === 403) { + return; + } ProcessErrors(null, data, status, null, { hdr: i18n._('Error!'), msg: i18n._('Failed to get webhook key GET returned ') + status