v1.0.26: ошибка загрузки — в колонке Статус

This commit is contained in:
2026-06-18 19:53:37 +04:00
parent bca1bba6d0
commit 3489058ec2
+4 -6
View File
@@ -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.25 — Lucee</span></span> <span class="title">Сверка договоров <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.26 — Lucee</span></span>
</div> </div>
<div class="content"> <div class="content">
@@ -265,21 +265,19 @@ uploadBtn.addEventListener('click', function() {
var elapsed = ((Date.now() - uploadStartTime) / 1000).toFixed(1); var elapsed = ((Date.now() - uploadStartTime) / 1000).toFixed(1);
log('✅ ' + f.name + ' (' + formatSize(f.size) + ') — ' + elapsed + 'с'); log('✅ ' + f.name + ' (' + formatSize(f.size) + ') — ' + elapsed + 'с');
} else { } else {
f.status = 'error'; f.status = 'error: ' + (r.ERROR || 'неизв.');
log('❌ ' + f.name + ': ' + (r.ERROR || '')); log('❌ ' + f.name + ': ' + (r.ERROR || ''));
} }
renderTable(); renderTable();
uploadNext(i + 1); uploadNext(i + 1);
}).catch(function(e) { }).catch(function(e) {
f.status = 'error'; f.status = 'error: ' + e.message;
log('❌ ' + f.name + ': ' + e.message);
renderTable(); renderTable();
uploadNext(i + 1); uploadNext(i + 1);
}); });
}; };
reader.onerror = function() { reader.onerror = function() {
f.status = 'error'; f.status = 'error: чтение';
log('❌ ' + f.name + ': ошибка чтения');
renderTable(); renderTable();
uploadNext(i + 1); uploadNext(i + 1);
}; };