build: refs #6859 #23

Merged
guillermo merged 8 commits from test into master 2024-02-15 09:27:12 +00:00
1 changed files with 8 additions and 1 deletions
Showing only changes of commit b16ca6b83f - Show all commits

View File

@ -97,10 +97,17 @@ $.ajaxPrefilter(function(xhr) {
mensaje = 'Ajax request aborted';
break;
case 'error':
if (xhr?.responseJSON?.error?.name == 'UserError') {
mensaje = xhr.responseJSON.error.message;
break;
}
switch (xhr.status){
case 0:
mensaje = 'Not connect: Verify Network';
break;
case 504:
mensaje = 'No se ha podido conectar con Salix, consulta con informática';
break;
case 555:
mensaje = JSON.parse(xhr.statusText).Message;
break;