X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.browsing.ui.graph.impl%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fgraph%2Fimpl%2FLazyGraphLabeler.java;fp=bundles%2Forg.simantics.browsing.ui.graph.impl%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fgraph%2Fimpl%2FLazyGraphLabeler.java;h=a7635bedfbb676c337870027bcb85550494766e5;hp=cf410444ed7753fc9a4d6df73882211fdc811f9e;hb=1dfeb7d5c49b1391cd9d877e1eddab18995cb151;hpb=c13c4179bda758e77fe1f2032d3c4268bb9e3120 diff --git a/bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/LazyGraphLabeler.java b/bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/LazyGraphLabeler.java index cf410444e..a7635bedf 100644 --- a/bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/LazyGraphLabeler.java +++ b/bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/LazyGraphLabeler.java @@ -25,6 +25,7 @@ import org.simantics.db.ReadGraph; import org.simantics.db.exception.DatabaseException; import org.simantics.db.procedure.Listener; import org.simantics.utils.ui.ErrorLogger; +import org.slf4j.Logger; public abstract class LazyGraphLabeler extends LabelerStub { @@ -80,8 +81,7 @@ public abstract class LazyGraphLabeler extends LabelerStub { @Override public void exception(Throwable t) { - System.err.println("LazyGraphLabeler2: "); - t.printStackTrace(); + getLogger().error("LazyGraphLabeler2: ", t); } }; @@ -116,4 +116,5 @@ public abstract class LazyGraphLabeler extends LabelerStub { } + public abstract Logger getLogger(); }