Skip to content

Commit 4114878

Browse files
authored
Enable websocket logging (#252)
1 parent 40f751b commit 4114878

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dbos/_conductor/conductor.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ def __init__(
3434
def run(self) -> None:
3535
while not self.evt.is_set():
3636
try:
37-
with connect(self.url, open_timeout=5) as websocket:
37+
with connect(
38+
self.url, open_timeout=5, logger=self.dbos.logger
39+
) as websocket:
3840
self.websocket = websocket
3941
while not self.evt.is_set():
4042
message = websocket.recv()

0 commit comments

Comments
 (0)