From: jsimomaa Date: Mon, 25 Nov 2019 06:58:58 +0000 (+0200) Subject: Replace e.printStackTrace() with LOGGER in o.s.p.impl.Project.java X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F3611%2F1;p=simantics%2Fplatform.git Replace e.printStackTrace() with LOGGER in o.s.p.impl.Project.java gitlab #423 Change-Id: I3af88754bcca016c900a84c534fb62e612f408bc --- diff --git a/bundles/org.simantics.project/src/org/simantics/project/impl/Project.java b/bundles/org.simantics.project/src/org/simantics/project/impl/Project.java index 1a4e9f687..dc4f5194a 100644 --- a/bundles/org.simantics.project/src/org/simantics/project/impl/Project.java +++ b/bundles/org.simantics.project/src/org/simantics/project/impl/Project.java @@ -79,9 +79,8 @@ public class Project extends HintContext implements IProject { featureSet.clear(); features = NONE; - } catch (ProjectException e1) { - // TODO: do something more sensible than print the possible exception! - e1.printStackTrace(); + } catch (ProjectException e) { + LOGGER.error("Could not dispose Project {}", this, e); } finally { lock.unlock(); }