debug++
This commit is contained in:
parent
cd4f8fc793
commit
4c91b5d749
@ -88,6 +88,7 @@ public class JoinListener extends PlayerListener {
|
|||||||
|
|
||||||
public String[] fetchMOTD(String user) throws IOException, MalformedURLException, JSONException {
|
public String[] fetchMOTD(String user) throws IOException, MalformedURLException, JSONException {
|
||||||
URL motdService = new URL(m_url+"motd/"+user);
|
URL motdService = new URL(m_url+"motd/"+user);
|
||||||
|
log.info("Fetching MOTD for "+user+" from "+motdService);
|
||||||
HttpURLConnection conn = (HttpURLConnection)motdService.openConnection();
|
HttpURLConnection conn = (HttpURLConnection)motdService.openConnection();
|
||||||
BufferedInputStream in = new BufferedInputStream(conn.getInputStream());
|
BufferedInputStream in = new BufferedInputStream(conn.getInputStream());
|
||||||
String jsonStr;
|
String jsonStr;
|
||||||
|
Loading…
Reference in New Issue
Block a user