mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-13 16:19:24 +00:00
If there are severe load errors, then an attempt to just log that fails and causes eclipse to break down; now it should just log to standard error and at least let eclipse continue running, sans lombok, if the logging to the eclipse log of the failure also fails.
This commit is contained in:
@@ -65,7 +65,12 @@ public class TransformEclipseAST {
|
||||
l = HandlerLibrary.load();
|
||||
f = CompilationUnitDeclaration.class.getDeclaredField("$lombokAST");
|
||||
} catch ( Throwable t ) {
|
||||
Eclipse.error(null, "Problem initializing lombok", t);
|
||||
try {
|
||||
Eclipse.error(null, "Problem initializing lombok", t);
|
||||
} catch ( Throwable t2) {
|
||||
System.err.println("Problem initializing lombok");
|
||||
t.printStackTrace();
|
||||
}
|
||||
disableLombok = true;
|
||||
}
|
||||
astCacheField = f;
|
||||
|
||||
Reference in New Issue
Block a user