mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
fix exception spam
This commit is contained in:
@@ -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)
|
||||||
Reference in New Issue
Block a user