Fix error handling and method assignment in requestGame function
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user