openvidu-server: improved warn message when geolocation failure

pull/621/head
pabloFuente 2021-04-08 15:29:53 +02:00
parent f4f70bbf82
commit 74ad11dd5c
1 changed files with 2 additions and 1 deletions

View File

@ -204,7 +204,8 @@ public class RpcHandler extends DefaultJsonRpcHandler<JsonObject> {
e.printStackTrace();
location = null;
} 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;
}
}