From cf88ed04d52564b6211ed09e584a35b526ea8342 Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Mon, 25 Nov 2019 08:58:58 +0200 Subject: [PATCH] Replace e.printStackTrace() with LOGGER in o.s.p.impl.Project.java gitlab #423 Change-Id: I3af88754bcca016c900a84c534fb62e612f408bc --- .../src/org/simantics/project/impl/Project.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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(); } -- 2.47.1