This commit is contained in:
2026-01-31 19:00:04 -08:00
parent dcf16e0cc4
commit 6513a3ad04
25 changed files with 617 additions and 397 deletions

View File

@@ -630,7 +630,7 @@ class DownloadModal(ModalScreen):
f"Download failed: {error_reason}",
)
except Exception:
pass
logger.exception("Failed to finish worker during download failure handling")
# Also append detailed error info to worker stdout for visibility
if worker:
@@ -799,7 +799,7 @@ class DownloadModal(ModalScreen):
f"Download error: {str(e)}",
)
except Exception:
pass
logger.exception("Failed to finish worker during download error handling")
self.app.call_from_thread(self._hide_progress)
self.app.call_from_thread(self.dismiss)
return
@@ -1091,7 +1091,7 @@ class DownloadModal(ModalScreen):
try:
worker.finish("error", f"Download failed: {str(e)}")
except Exception:
pass
logger.exception("Failed to finish worker on download submit error")
self.app.call_from_thread(self._hide_progress)
self.app.call_from_thread(
self.app.notify,