Implement important error logging #578

Merged
greg6775 merged 1 commit from greg-dev into master 2020-11-18 02:42:13 +01:00
2 changed files with 2 additions and 1 deletions

View file

@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>Hadder</groupId> <groupId>Hadder</groupId>
<artifactId>Hadder</artifactId> <artifactId>Hadder</artifactId>
<version>1.3.23</version> <version>1.3.24</version>
<name>Hadder</name> <name>Hadder</name>
<inceptionYear>2019</inceptionYear> <inceptionYear>2019</inceptionYear>
<description>Hadder is a multi-purpose Discord bot.</description> <description>Hadder is a multi-purpose Discord bot.</description>

View file

@ -59,6 +59,7 @@ public class Rethink {
try { try {
return new JSONObject(response); return new JSONObject(response);
} catch (JSONException e) { } catch (JSONException e) {
e.printStackTrace();
System.out.println(response); System.out.println(response);
return null; return null;
} }