Compare commits

...

2 Commits

Author SHA1 Message Date
Administrator
329f501a6e release: v3.1.10 2026-04-22 18:03:44 +02:00
Administrator
8680ae6467 ux(queue): show error detail directly in status cell
Status "Fehlgeschlagen" alone forced the user to dig into
account-rotation.log to understand why a job failed. For error /
retrying / skipped statuses, append the (shortened, whitespace-
collapsed) error message — same approach already in place for v2.
Caps at 100 chars so the cell stays readable.
2026-04-22 18:03:17 +02:00
2 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "multi-hoster-uploader",
"version": "3.1.9",
"version": "3.1.10",
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
"main": "main.js",
"scripts": {

View File

@ -1163,16 +1163,19 @@ function getStatusOrder(status) {
}
function getStatusText(job) {
const shortErr = job.error ? String(job.error).replace(/\s+/g, ' ').slice(0, 100) : '';
switch (job.status) {
case 'preview': return 'Bereit';
case 'queued': return 'Wartet';
case 'getting-server': return 'Server...';
case 'uploading': return 'Upload';
case 'retrying': return `Retry ${job.attempt}/${job.maxAttempts}`;
case 'retrying': return shortErr
? `Retry ${job.attempt}/${job.maxAttempts}: ${shortErr}`
: `Retry ${job.attempt}/${job.maxAttempts}`;
case 'done': return 'Fertig';
case 'aborted': return 'Abgebrochen';
case 'error': return 'Fehlgeschlagen';
case 'skipped': return 'Übersprungen';
case 'error': return shortErr ? `Fehlgeschlagen: ${shortErr}` : 'Fehlgeschlagen';
case 'skipped': return shortErr ? `Übersprungen: ${shortErr}` : 'Übersprungen';
default: return job.status;
}
}