mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-22 13:19:44 +00:00
Only catch Exceptions not Errors (#1186)
This commit is contained in:
1 parent
941fc88484
commit
a32f9ca244
20 files changed
+45
-39
No files matched your search
@@ -47,7 +47,7 @@ public class ShaderPackSelectionList extends IrisGuiSlot {
|
||||
|
||||
try {
|
||||
names = Iris.getShaderpacksDirectoryManager().enumerate();
|
||||
} catch (Throwable e) {
|
||||
} catch (Exception e) {
|
||||
Iris.logger.error("Error reading files while constructing selection UI", e);
|
||||
|
||||
// Not translating this since it's going to be seen very rarely,
|
||||
|
||||
Reference in new issue
Block a user