1
0
Falko Schindler 1 жил өмнө
parent
commit
82a9059f9a

+ 1 - 1
nicegui/nicegui.py

@@ -241,7 +241,7 @@ async def prune_slot_stacks() -> None:
                 del globals.slot_stacks[id_]
                 del globals.slot_stacks[id_]
         except Exception:
         except Exception:
             # NOTE: make sure the loop doesn't crash
             # NOTE: make sure the loop doesn't crash
-            globals.log.exception('Error while pruning slot stacks')
+            log.exception('Error while pruning slot stacks')
         await asyncio.sleep(10)
         await asyncio.sleep(10)