Skip to content

Commit

Permalink
Fixed edge case with server tracking breaking the entire service
Browse files Browse the repository at this point in the history
  • Loading branch information
Vauff committed Jun 14, 2018
1 parent 9b86561 commit 426d405
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,5 @@
<version>3.10.0</version>
</dependency>
</dependencies>
<version>2.4.4</version>
<version>2.4.6</version>
</project>
2 changes: 1 addition & 1 deletion src/com/vauff/maunzdiscord/core/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public class Main
{
public static IDiscordClient client;
public static String version = "2.4.4";
public static String version = "2.4.6";
public static Logger log;

public static void main(String[] args) throws DiscordException
Expand Down
5 changes: 5 additions & 0 deletions src/com/vauff/maunzdiscord/core/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,11 @@ public static IMessage msg(IChannel channel, String message)
{
return channel.sendMessage(message);
}
catch (MissingPermissionsException e)
{
Main.log.error("", e);
return null;
}
catch (DiscordException e)
{
Main.log.error("", e);
Expand Down

0 comments on commit 426d405

Please sign in to comment.