SteamWar/BauSystem2.0
Archiviert
12
0

Make LinkageUtils better with Error handling

Dieser Commit ist enthalten in:
yoyosource 2021-04-17 23:17:46 +02:00
Ursprung abb52aeaf7
Commit 5d2f92227c

Datei anzeigen

@ -29,6 +29,7 @@ import java.io.InputStreamReader;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;
import java.util.*; import java.util.*;
import java.util.logging.Level;
@UtilityClass @UtilityClass
public class LinkageUtils { public class LinkageUtils {
@ -53,7 +54,7 @@ public class LinkageUtils {
} catch (ClassNotFoundException e) { } catch (ClassNotFoundException e) {
// ignored // ignored
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); Bukkit.getLogger().log(Level.WARNING, e.getMessage(), e);
} }
}); });
} catch (IOException e) { } catch (IOException e) {