This commit is contained in:
parent
1373d7071b
commit
09ad31a92d
|
@ -120,7 +120,7 @@ function $exceptionHandler(vnApp, $window, $state, $injector) {
|
|||
messageT = 'Invalid login';
|
||||
break;
|
||||
case 403:
|
||||
messageT = exception.data.error.message || 'Access denied';
|
||||
messageT = exception.data?.error?.message || 'Access denied';
|
||||
break;
|
||||
case 502:
|
||||
messageT = 'It seems that the server has fall down';
|
||||
|
|
Loading…
Reference in New Issue