diff --git a/awx/ui/src/screens/Setting/Troubleshooting/TroubleshootingEdit/TroubleshootingEdit.js b/awx/ui/src/screens/Setting/Troubleshooting/TroubleshootingEdit/TroubleshootingEdit.js
index 1ff860d329..a28afeb592 100644
--- a/awx/ui/src/screens/Setting/Troubleshooting/TroubleshootingEdit/TroubleshootingEdit.js
+++ b/awx/ui/src/screens/Setting/Troubleshooting/TroubleshootingEdit/TroubleshootingEdit.js
@@ -117,6 +117,10 @@ function TroubleshootingEdit() {
name="RECEPTOR_RELEASE_WORK"
config={debug.RECEPTOR_RELEASE_WORK}
/>
+
{submitError && }
{revertError && }
diff --git a/awx/ui/src/screens/Setting/Troubleshooting/TroubleshootingEdit/data.defaultTroubleshootingSettings.json b/awx/ui/src/screens/Setting/Troubleshooting/TroubleshootingEdit/data.defaultTroubleshootingSettings.json
index 2b5ac17003..35983281fd 100644
--- a/awx/ui/src/screens/Setting/Troubleshooting/TroubleshootingEdit/data.defaultTroubleshootingSettings.json
+++ b/awx/ui/src/screens/Setting/Troubleshooting/TroubleshootingEdit/data.defaultTroubleshootingSettings.json
@@ -1,5 +1,6 @@
{
"AWX_CLEANUP_PATHS": false,
"AWX_REQUEST_PROFILE": false,
- "RECEPTOR_RELEASE_WORK": false
-}
\ No newline at end of file
+ "RECEPTOR_RELEASE_WORK": false,
+ "RECEPTOR_KEEP_WORK_ON_ERROR": false
+}
diff --git a/awx/ui/src/screens/Setting/shared/data.allSettingOptions.json b/awx/ui/src/screens/Setting/shared/data.allSettingOptions.json
index d544bcf427..de027f2b6c 100644
--- a/awx/ui/src/screens/Setting/shared/data.allSettingOptions.json
+++ b/awx/ui/src/screens/Setting/shared/data.allSettingOptions.json
@@ -830,6 +830,15 @@
"category_slug": "debug",
"default": true
},
+ "RECEPTOR_KEEP_WORK_ON_ERROR": {
+ "type": "boolean",
+ "required": false,
+ "label": "Keep receptor work on error",
+ "help_text": "Prevent receptor work from being released on when error is detected",
+ "category": "Debug",
+ "category_slug": "debug",
+ "default": false
+ },
"SESSION_COOKIE_AGE": {
"type": "integer",
"required": true,
@@ -5173,6 +5182,14 @@
"category_slug": "debug",
"defined_in_file": false
},
+ "RECEPTOR_KEEP_WORK_ON_ERROR": {
+ "type": "boolean",
+ "label": "Keep receptor work on error",
+ "help_text": "Prevent receptor work from being released on when error is detected",
+ "category": "Debug",
+ "category_slug": "debug",
+ "defined_in_file": false
+ },
"SESSION_COOKIE_AGE": {
"type": "integer",
"label": "Idle Time Force Log Out",
diff --git a/awx/ui/src/screens/Setting/shared/data.allSettings.json b/awx/ui/src/screens/Setting/shared/data.allSettings.json
index 37d560537a..558d66d151 100644
--- a/awx/ui/src/screens/Setting/shared/data.allSettings.json
+++ b/awx/ui/src/screens/Setting/shared/data.allSettings.json
@@ -91,6 +91,7 @@
"slirp4netns:enable_ipv6=true"
],
"RECEPTOR_RELEASE_WORK": true,
+ "RECEPTOR_KEEP_WORK_ON_ERROR": false,
"SESSION_COOKIE_AGE": 1800,
"SESSIONS_PER_USER": -1,
"DISABLE_LOCAL_AUTH": false,