Fix error handling and method assignment in requestGame function

This commit is contained in:
Burak Arslan committed 2025-08-08 23:59:41 +03:00
1 parent 4c2c452b91
commit b7e7028b6f
1 file changed
+6 -1
@@ -503,7 +503,12 @@ class NetworkService {
host: url,
port: port,
}).catch((error) => {
null;
this.logger.warn({
message: error.message,
service: this.SERVICE_NAME,
method: "requestGame",
details: { url, port, gameId },
});
});
if (!state) {