Skip to content

Commit

Permalink
fixup! Switch to log.warning instead of log.warn
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenselme committed Aug 22, 2024
1 parent e37d449 commit 966a86c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autobahn/wamp/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ def transport_check(_):
break

delay = transport.next_delay()
self.log.warning(
self.log.warn(
'trying transport {transport_idx} ("{transport_url}") using connect delay {transport_delay}',
transport_idx=transport.idx,
transport_url=transport.url,
Expand Down Expand Up @@ -831,7 +831,7 @@ def on_disconnect(session, was_clean):
)
if not txaio.is_called(done):
if not was_clean:
self.log.warning(
self.log.warn(
"Session disconnected uncleanly"
)
else:
Expand Down

0 comments on commit 966a86c

Please sign in to comment.