diff options
| -rw-r--r-- | src/cuchaz/enigma/Deobfuscator.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cuchaz/enigma/Deobfuscator.java b/src/cuchaz/enigma/Deobfuscator.java index 08a974a..82d1611 100644 --- a/src/cuchaz/enigma/Deobfuscator.java +++ b/src/cuchaz/enigma/Deobfuscator.java | |||
| @@ -312,7 +312,10 @@ public class Deobfuscator { | |||
| 312 | out.write(source); | 312 | out.write(source); |
| 313 | } | 313 | } |
| 314 | } catch (Throwable t) { | 314 | } catch (Throwable t) { |
| 315 | throw new Error("Unable to deobfuscate class " + deobfClassEntry.toString() + " (" + obfClassEntry.toString() + ")", t); | 315 | // don't crash the whole world here, just log the error and keep going |
| 316 | // TODO: set up logback via log4j | ||
| 317 | System.err.println("Unable to deobfuscate class " + deobfClassEntry.toString() + " (" + obfClassEntry.toString() + ")"); | ||
| 318 | t.printStackTrace(System.err); | ||
| 316 | } | 319 | } |
| 317 | } | 320 | } |
| 318 | if (progress != null) { | 321 | if (progress != null) { |