fix exception spam

This commit is contained in:
Vxrtrauter
2026-01-13 21:35:03 +01:00
parent e0eaf250e5
commit 5a9d9067b9
+2 -5
View File
@@ -88,9 +88,6 @@ def update_log(shutdown_event):
update_download_completed_by_hash(d.info_hash, True) update_download_completed_by_hash(d.info_hash, True)
updated.add(d.gid) updated.add(d.gid)
state.downloads = [d for d in state.aria2.get_downloads() if d.is_active and not d.is_metadata] state.downloads = [d for d in state.aria2.get_downloads() if d.is_active and not d.is_metadata]
except Exception as e: except Exception:
if state.debug: pass
print(f"Error in update_log: {e}")
import traceback
traceback.print_exc()
time.sleep(5) time.sleep(5)