mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 13:15:28 +01:00
Avoid using Exception#printStackTrace() in WebManager
This commit is contained in:
parent
d42d0118d7
commit
96464138f5
@ -65,7 +65,8 @@ public class WebManager {
|
||||
catalog.getAsJsonArray("gamemodes").forEach(gamemode -> gamemodesCatalog.add(gamemode.getAsJsonObject()));
|
||||
catalog.getAsJsonArray("addons").forEach(addon -> addonsCatalog.add(addon.getAsJsonObject()));
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
plugin.logError("An error occurred when downloading or parsing data from GitHub...");
|
||||
plugin.logStacktrace(e);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user