Spaces:
Sleeping
Sleeping
LogicalTrue commited on
Commit 路
0d08d96
1
Parent(s): 08a3866
Show exact job failure message in mobile alert
Browse files- frontend/viewer.html +1 -1
frontend/viewer.html
CHANGED
|
@@ -1039,7 +1039,7 @@
|
|
| 1039 |
fetchGallery();
|
| 1040 |
} else if (job.status === 'failed') {
|
| 1041 |
clearInterval(pollInterval);
|
| 1042 |
-
throw new Error(job.error || 'La generaci贸n 3D fall贸.');
|
| 1043 |
} else {
|
| 1044 |
creatorStatusTitle.textContent = `Procesando Modelo 3D (Cola)...`;
|
| 1045 |
creatorStatusDesc.textContent = `Estado actual: ${job.status || 'esperando'}. Por favor, no cierres esta p谩gina.`;
|
|
|
|
| 1039 |
fetchGallery();
|
| 1040 |
} else if (job.status === 'failed') {
|
| 1041 |
clearInterval(pollInterval);
|
| 1042 |
+
throw new Error(job.message || job.error || 'La generaci贸n 3D fall贸.');
|
| 1043 |
} else {
|
| 1044 |
creatorStatusTitle.textContent = `Procesando Modelo 3D (Cola)...`;
|
| 1045 |
creatorStatusDesc.textContent = `Estado actual: ${job.status || 'esperando'}. Por favor, no cierres esta p谩gina.`;
|