Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2019-04-08 12:31:31 -0400
committerAndrey Loskutov2019-04-08 12:31:31 -0400
commit102b38661475b0fa2573733a1ff0edbb2cadfdcf (patch)
tree037af9c6436399ebcb4aaf465b5224b90323d23d
parente726626e8993c67caac2b8e36af66902248ae6a8 (diff)
downloadeclipse.jdt.core-102b38661475b0fa2573733a1ff0edbb2cadfdcf.tar.gz
eclipse.jdt.core-102b38661475b0fa2573733a1ff0edbb2cadfdcf.tar.xz
eclipse.jdt.core-102b38661475b0fa2573733a1ff0edbb2cadfdcf.zip
Bug 546204 - log to the error log instead of e.printStackTrace()I20190408-1800
Change-Id: Ib3a3813be9940fdbfa7686e09042e758132e00de Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
-rw-r--r--org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
index 2062658299..604b4e0b07 100644
--- a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
+++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelManager.java
@@ -2286,7 +2286,7 @@ public class JavaModelManager implements ISaveParticipant, IContentTypeChangeLis
monitor.subTask(Messages.bind(Messages.build_readStateProgress, project.getName()));
info.savedState = readState(project);
} catch (CoreException e) {
- e.printStackTrace();
+ Util.log(e, "Exception while reading last build state for: " + project); //$NON-NLS-1$
}
}
return info.savedState;

Back to the top