This commit is contained in:
Anuken
2020-01-19 14:56:12 -05:00
parent 19b8d91724
commit a797618f6c
2 changed files with 4 additions and 4 deletions

View File

@@ -246,7 +246,7 @@ public class Mods implements Loadable{
try{
LoadedMod mod = loadMod(file);
mods.add(mod);
}catch(Exception e){
}catch(Throwable e){
Log.err("Failed to load mod file {0}. Skipping.", file);
Log.err(e);
}
@@ -258,7 +258,7 @@ public class Mods implements Loadable{
LoadedMod mod = loadMod(file);
mods.add(mod);
mod.addSteamID(file.name());
}catch(Exception e){
}catch(Throwable e){
Log.err("Failed to load mod workshop file {0}. Skipping.", file);
Log.err(e);
}
@@ -354,7 +354,7 @@ public class Mods implements Loadable{
for(Fi file : bundles.getOr(locale, Array::new)){
try{
PropertiesUtils.load(bundle.getProperties(), file.reader());
}catch(Exception e){
}catch(Throwable e){
Log.err("Error loading bundle: " + file + "/" + locale, e);
}
}