mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-31 03:07:34 +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
|
Thread.currentThread().interrupt(); // Restore the interrupt flag
|
||||||
return event;
|
return event;
|
||||||
} catch (ExecutionException e) {
|
} catch (ExecutionException e) {
|
||||||
e.printStackTrace();
|
core.getPlugin().getLog().error("Error firing event", e);
|
||||||
return event;
|
return event;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,7 @@ public class ForceLoginTask
|
|||||||
Thread.currentThread().interrupt(); // Set the interrupt flag again
|
Thread.currentThread().interrupt(); // Set the interrupt flag again
|
||||||
return event;
|
return event;
|
||||||
} catch (ExecutionException e) {
|
} catch (ExecutionException e) {
|
||||||
e.printStackTrace();
|
core.getPlugin().getLog().error("Error firing event", e);
|
||||||
return event;
|
return event;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user