Skip to content

Commit

Permalink
nits to socket logging
Browse files Browse the repository at this point in the history
  • Loading branch information
furudean committed Aug 18, 2024
1 parent 682e662 commit face04e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/renpy_warp.rpe.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def quit():

except WebSocketException as e:
if e.code == 4000:
print("got socket code 4000, service closing")
print("socket service got code 4000, service closing")
return True
else:
print("unexpected websocket error:", e)
Expand All @@ -174,6 +174,9 @@ def try_socket_ports_forever():
if service_closed:
break

if service_closed:
break

print("exhausted all ports, waiting 5 seconds before retrying")
sleep(5)

Expand Down

0 comments on commit face04e

Please sign in to comment.