Skip to content

Commit 3461df8

Browse files
committed
set service_debug in litestar bootstrapper
1 parent 9e97f17 commit 3461df8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lite_bootstrap/bootstrappers/litestar_bootstrapper.py

+1
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ class LitestarBootstrapper(BaseBootstrapper["litestar.Litestar"]):
200200

201201
def __init__(self, bootstrap_config: LitestarConfig) -> None:
202202
super().__init__(bootstrap_config)
203+
self.bootstrap_config.application_config.debug = bootstrap_config.service_debug
203204
self.bootstrap_config.application_config.on_shutdown.append(self.teardown)
204205

205206
def is_ready(self) -> bool:

0 commit comments

Comments
 (0)