Critical tasks now cause the app to exit, instead of letting it continue with broken functionality
This commit is contained in:
1 parent
f32c8f25d8
commit
016955c8ba
3 files changed
+36
-19
No files matched your search
+1
-1
@@ -141,7 +141,7 @@ class Websocket:
|
||||
)
|
||||
break
|
||||
|
||||
@task_wrapper
|
||||
@task_wrapper(critical=True)
|
||||
async def _handle(self):
|
||||
# ensure we're logged in before connecting
|
||||
self.set_status(_("gui", "websocket", "initializing"))
|
||||
|
||||
Reference in new issue
Block a user