diff --git a/runelite-client/src/main/java/net/runelite/client/rs/ClientLoader.java b/runelite-client/src/main/java/net/runelite/client/rs/ClientLoader.java index 9a660fe58d..e39b76716d 100644 --- a/runelite-client/src/main/java/net/runelite/client/rs/ClientLoader.java +++ b/runelite-client/src/main/java/net/runelite/client/rs/ClientLoader.java @@ -69,14 +69,16 @@ public class ClientLoader return null; } } - catch (IOException | ClassNotFoundException | InstantiationException | IllegalAccessException e) + catch (IOException | InstantiationException | IllegalAccessException e) { - if (e instanceof ClassNotFoundException) - { - log.error("Unable to load client - class not found. This means you" - + " are not running RuneLite with Maven as the injected client" - + " is not in your classpath."); - } + log.error("Error loading RS!", e); + return null; + } + catch (ClassNotFoundException e) + { + log.error("Unable to load client - class not found. This means you" + + " are not running RuneLite with Maven as the injected client" + + " is not in your classpath."); log.error("Error loading RS!", e); return null;