mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 00:03:20 +01:00
Report the error in the UI. Regression after switching to the task queue
This commit is contained in:
parent
1cdb456216
commit
f05d114f05
@ -213,7 +213,7 @@
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script src="media/main.js?v=14"></script>
|
||||
<script src="media/main.js?v=15"></script>
|
||||
<script>
|
||||
async function init() {
|
||||
await loadModifiers()
|
||||
|
@ -576,7 +576,9 @@ async function checkTasks() {
|
||||
|
||||
// setStatus('request', 'done', 'success')
|
||||
} 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user