refs #6172 Change #1735

Merged
guillermo merged 7 commits from 6172-errorMsg into dev 2023-12-11 10:48:59 +00:00
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ Show summary: Mostrar vista previa
What is new: Novedades de la versión
Settings: Ajustes
There is a new version, click here to reload: Hay una nueva versión, pulse aquí para recargar
This ticket is locked.: Este ticket está bloqueado
# Actions

View File

@ -120,7 +120,7 @@ function $exceptionHandler(vnApp, $window, $state, $injector) {
messageT = 'Invalid login';
break;
case 403:
messageT = 'Access denied';
messageT = exception.data?.error?.message || 'Access denied';
Outdated
Review

Millor ficar exception.data?.error?.message, pot donarse el cas de que data o error no estiguen definits i donaria error de codi.

Millor ficar `exception.data?.error?.message`, pot donarse el cas de que data o error no estiguen definits i donaria error de codi.
break;
case 502:
messageT = 'It seems that the server has fall down';