mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 11:50:42 -03:30
adding null object fix for ProcessErrors module
This commit is contained in:
parent
b00fbc5e67
commit
5f10f4c51c
@ -192,7 +192,7 @@ angular.module('Utilities', ['RestServices', 'Utilities', 'sanitizeFilter'])
|
||||
}
|
||||
if (status === 403) {
|
||||
msg = 'The API responded with a 403 Access Denied error. ';
|
||||
if (data.detail) {
|
||||
if (data && data.detail) {
|
||||
msg += 'Detail: ' + data.detail;
|
||||
} else {
|
||||
msg += 'Please contact your system administrator.';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user