Files
bambuddy/backend/app
maziggy 3e646febd6 Don't log a printer callback cancelled at shutdown as an error (#3243)
Stopping the event loop cancels the printer callbacks still pending.
_schedule_async's done-callback then called result(), which raises
concurrent.futures.CancelledError. Unlike asyncio's, that one is an
Exception, so it was logged as "Exception in scheduled callback" with
a traceback. Two support packages show it as the last line before a
restart.

Return early on a cancelled future, as core/tasks.py already does. A
callback that raised is still logged as an error.
2026-10-06 07:55:44 +02:00
..
…
…