mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: improved warn message when geolocation failure
parent
f4f70bbf82
commit
74ad11dd5c
|
@ -204,7 +204,8 @@ public class RpcHandler extends DefaultJsonRpcHandler<JsonObject> {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
location = null;
|
location = null;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.warn("Error getting address location: {}", e.getMessage());
|
log.warn("Couldn't locate IP address {} in geolocation database: {}", remoteAddress.getHostAddress(),
|
||||||
|
e.getMessage());
|
||||||
location = null;
|
location = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue