Explorar o código

fix reset of exception handlers

Falko Schindler hai 1 ano
pai
achega
b0be5522ba
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      nicegui/app.py

+ 1 - 1
nicegui/app.py

@@ -240,4 +240,4 @@ class App(FastAPI):
         self._shutdown_handlers.clear()
         self._connect_handlers.clear()
         self._disconnect_handlers.clear()
-        self._exception_handlers.clear()
+        self._exception_handlers[:] = [log.exception]