diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..44f6278 --- /dev/null +++ b/.gitignore @@ -0,0 +1,28 @@ +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* +.settings/ +.classpath +.project +*.iml +bin/ diff --git a/src/me/Andrew/XenforoAPI/SiteAPI.java b/src/me/Andrew/XenforoAPI/SiteAPI.java index c7a9cc2..ff5b889 100644 --- a/src/me/Andrew/XenforoAPI/SiteAPI.java +++ b/src/me/Andrew/XenforoAPI/SiteAPI.java @@ -164,6 +164,8 @@ public boolean canConnect() { request.connect(); return request.getResponseCode() == 200; } catch (IOException e) { + //Just a check + e.printStackTrace(); return false; } }