mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-15 15:08:27 +02:00
Report the error in the UI. Regression after switching to the task queue
This commit is contained in:
parent
fcb41e30dc
commit
ccfa32ce93
@ -213,7 +213,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<script src="media/main.js?v=21"></script>
|
<script src="media/main.js?v=22"></script>
|
||||||
<script>
|
<script>
|
||||||
async function init() {
|
async function init() {
|
||||||
await loadModifiers()
|
await loadModifiers()
|
||||||
|
@ -571,7 +571,9 @@ async function checkTasks() {
|
|||||||
|
|
||||||
// setStatus('request', 'done', 'success')
|
// setStatus('request', 'done', 'success')
|
||||||
} else {
|
} else {
|
||||||
task.outputMsg.innerText = 'Task ended after ' + time + ' seconds'
|
if (task.outputMsg.innerText.toLowerCase().indexOf('error') === -1) {
|
||||||
|
task.outputMsg.innerText = 'Task ended after ' + time + ' seconds'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (randomSeedField.checked) {
|
if (randomSeedField.checked) {
|
||||||
|
Loading…
Reference in New Issue
Block a user