enable backtraces in sable (#280)

This commit is contained in:
Shivaram Lingamneni
2024-06-15 08:25:14 +02:00
committed by GitHub
parent 9856317a64
commit 465f6637ed

View File

@ -408,6 +408,7 @@ class SableController(BaseServerController, DirectoryBasedController):
],
cwd=self.directory,
preexec_fn=os.setsid,
env={"RUST_BACKTRACE": "1", **os.environ},
)
self.pgroup_id = os.getpgid(self.proc.pid)
@ -485,6 +486,7 @@ class SableServicesController(BaseServicesController):
],
cwd=self.server_controller.directory,
preexec_fn=os.setsid,
env={"RUST_BACKTRACE": "1", **os.environ},
)
self.pgroup_id = os.getpgid(self.proc.pid)