This commit is contained in:
Ayush Saini 2025-02-15 22:36:13 +05:30
parent c9190b1267
commit be5a8f6104
2 changed files with 7 additions and 3 deletions

View file

@ -32,7 +32,7 @@ jobs:
if grep -E "Exception|RuntimeError" server-output.log; then
echo "Error message found. Check server-output.log for details."
exit 1
elif ! grep -q "entering server-mode" server-output.log; then
elif ! grep -q "Server started" server-output.log; then
echo "Success message not found in server's output."
exit 1
fi

View file

@ -20,6 +20,9 @@ def _access_check_response(self, data) -> None:
poststr = ''
_babase.our_ip = addr
_babase.our_port = port
print(
f'{Clr.BGRN}{Clr.WHT} Server started {addr}:{port} {Clr.RST}',
flush=True)
if data['accessible']:
# _fetch_public_servers()
_babase.queue_chcker_timer = bs.AppTimer(8, babase.Call(
@ -45,7 +48,8 @@ def _access_check_response(self, data) -> None:
f'{Clr.SRED}Master server access check of{addrstr}'
f' udp port {port} failed.\n'
f'Your server does not appear to be'
f' joinable from the internet. Please check your firewall or instance security group.{poststr}{Clr.RST}'
f' joinable from the internet. Please check your firewall or instance security group.{
poststr}{Clr.RST}'
)