Skip to content

Commit 966a86c

Browse files
committedAug 22, 2024
fixup! Switch to log.warning instead of log.warn
1 parent e37d449 commit 966a86c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎autobahn/wamp/component.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ def transport_check(_):
706706
break
707707

708708
delay = transport.next_delay()
709-
self.log.warning(
709+
self.log.warn(
710710
'trying transport {transport_idx} ("{transport_url}") using connect delay {transport_delay}',
711711
transport_idx=transport.idx,
712712
transport_url=transport.url,
@@ -831,7 +831,7 @@ def on_disconnect(session, was_clean):
831831
)
832832
if not txaio.is_called(done):
833833
if not was_clean:
834-
self.log.warning(
834+
self.log.warn(
835835
"Session disconnected uncleanly"
836836
)
837837
else:

0 commit comments

Comments
 (0)