Updated-NoCheatPlus / NoCheatPlus

Anti-cheating plugin for Minecraft (1.5-1.20, Bukkit/Spigot)
https://ci.codemc.io/job/Updated-NoCheatPlus/job/Updated-NoCheatPlus/
GNU General Public License v3.0
482 stars 100 forks source link

Catch library download errors; post messages instead of stack traces #167

Open SlimeDog opened 2 years ago

SlimeDog commented 2 years ago

Describe the feature

At present, if the (kotlin) library downloads fail, 110 lines of stack tracks are posted, and the plugin disabled. It would be a big improvement to catch and report the problem in a user-friendly format (ie., an ERROR message). Something like:

[<datetime>] [Server thread/ERROR]: Library <libraryName> from <URL> failed to load.

or

[<datetime>] [Server thread/ERROR]: Library <libraryName> from <URL> failed to update.