mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-29 18:27:36 +02:00
Use logger for exceptions
This commit is contained in:
@ -78,7 +78,7 @@ public class AsyncPremiumCheck extends JoinManagement<Player, CommandSource, Vel
|
||||
Thread.currentThread().interrupt(); // Restore the interrupt flag
|
||||
return event;
|
||||
} catch (ExecutionException e) {
|
||||
e.printStackTrace();
|
||||
core.getPlugin().getLog().error("Error firing event", e);
|
||||
return event;
|
||||
}
|
||||
}
|
||||
|
@ -98,7 +98,7 @@ public class ForceLoginTask
|
||||
Thread.currentThread().interrupt(); // Set the interrupt flag again
|
||||
return event;
|
||||
} catch (ExecutionException e) {
|
||||
e.printStackTrace();
|
||||
core.getPlugin().getLog().error("Error firing event", e);
|
||||
return event;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user