Skip to content

Commit

Permalink
fix: display stack trace when unbanning invalid ip addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
confuser committed Jan 2, 2022
1 parent 84a6293 commit acb1ef1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ public boolean onCommand(final CommonSender sender, CommandParser originalParser
try {
ip = new IPAddressString(ipStr).toAddress();
} catch (AddressStringException e) {
sender.sendMessage(Message.get("sender.error.exception").toString());
e.printStackTrace();
return;
}
}
Expand Down

0 comments on commit acb1ef1

Please sign in to comment.