remove error message when a background task is cancelled

This commit is contained in:
Aran-Fey
2025-10-09 09:50:18 +02:00
parent 5e6f6a5a9a
commit 31e828f51d

View File

@@ -1052,8 +1052,8 @@ window.resizeTo(screen.availWidth, screen.availHeight);
try:
error = task.exception()
except asyncio.CancelledError as e:
error = e
except asyncio.CancelledError:
return
if error is not None:
revel.error("Background task crashed:")