feat: add authenticated engine processing boundary

This commit is contained in:
Repinoid
2026-10-31 17:36:55 +03:00
parent 193f0b4069
commit e2ba9ab451
9 changed files with 378 additions and 81 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ async function runClassify() {
clearInterval(pollTimer);
clearInterval(timer);
classifyDone = true;
if (d.state === 'failed') {
if (d.state === 'failed' || d.state === 'interrupted') {
btn.innerHTML = '✗ ' + escHtml(d.error || 'ошибка извлечения');
btn.disabled = false;
return;