aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/loader/KotlinLoadingTweaker.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/loader/KotlinLoadingTweaker.java b/src/main/java/io/github/moulberry/notenoughupdates/loader/KotlinLoadingTweaker.java
index 68aa8adb..0c63b17d 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/loader/KotlinLoadingTweaker.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/loader/KotlinLoadingTweaker.java
@@ -159,14 +159,14 @@ public class KotlinLoadingTweaker implements ITweaker {
}
classLoader.loadClass("kotlin.KotlinVersion");
System.out.println("Could successfully load a Kotlin class.");
- } catch (Exception e) {
+ } catch (Throwable e) {
System.err.println("Failed to load Kotlin into NEU. This is most likely a bad thing.");
e.printStackTrace();
} finally {
if (fs != null) {
try {
fs.close();
- } catch (IOException e) {
+ } catch (Throwable e) {
e.printStackTrace();
}
}