]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.project/src/org/simantics/project/impl/Project.java
Replace e.printStackTrace() with LOGGER in o.s.p.impl.Project.java
[simantics/platform.git] / bundles / org.simantics.project / src / org / simantics / project / impl / Project.java
index 1a4e9f6878234a7cbd78661098e4608de6e447fb..dc4f5194a4a2c7c59c485a70f9a1c2b77c36bb57 100644 (file)
@@ -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();
         }