v1.0.24: детали ошибки в таблице Статус
This commit is contained in:
@@ -64,7 +64,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<div class="topbar">
|
<div class="topbar">
|
||||||
<img src="/nubes-logo.svg" alt="Nubes">
|
<img src="/nubes-logo.svg" alt="Nubes">
|
||||||
<span class="title">Сверка договоров <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.23 — Lucee</span></span>
|
<span class="title">Сверка договоров <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.24 — Lucee</span></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@@ -276,15 +276,13 @@ uploadBtn.addEventListener('click', function() {
|
|||||||
uploadNext(i + 1);
|
uploadNext(i + 1);
|
||||||
};
|
};
|
||||||
xhr.onerror = function() {
|
xhr.onerror = function() {
|
||||||
f.status = 'error';
|
f.status = 'error (status=0 — обрыв)';
|
||||||
var detail = 'сеть (status=' + xhr.status + ')';
|
log('❌ ' + f.name + ': сеть (status=0)');
|
||||||
if (xhr.responseText) detail += ' resp=' + xhr.responseText.substring(0,200);
|
|
||||||
log('❌ ' + f.name + ': ' + detail);
|
|
||||||
renderTable();
|
renderTable();
|
||||||
uploadNext(i + 1);
|
uploadNext(i + 1);
|
||||||
};
|
};
|
||||||
xhr.ontimeout = function() {
|
xhr.ontimeout = function() {
|
||||||
f.status = 'error';
|
f.status = 'error (таймаут)';
|
||||||
log('❌ ' + f.name + ': таймаут 120с');
|
log('❌ ' + f.name + ': таймаут 120с');
|
||||||
renderTable();
|
renderTable();
|
||||||
uploadNext(i + 1);
|
uploadNext(i + 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user