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%2FEvaluators.java;fp=bundles%2Forg.simantics.browsing.ui.graph.impl%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fgraph%2Fimpl%2FEvaluators.java;h=da872193fab6b538dc6e06183a371bde75c121b5;hp=e86cdc54703559214895694478c386a6cf80e9f3;hb=9db150ae67d60710a9eb932ceb2c1c227fc9fcff;hpb=09366c7018d046746832e4e7033ca2588455dac2 diff --git a/bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/Evaluators.java b/bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/Evaluators.java index e86cdc547..da872193f 100644 --- a/bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/Evaluators.java +++ b/bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/Evaluators.java @@ -296,8 +296,10 @@ public class Evaluators { for(String browseContext : browseContexts) { try { browseContextResources.add(graph.getResource(browseContext)); + } catch(ResourceNotFoundException e) { + // Expected result, if the browse context is not modelled. } catch(DatabaseException e) { - LOGGER.error("Didn't find " + browseContext + " while loading model browser.", e); + LOGGER.error("Unexpected error occurred while finding browse context " + browseContext + ".", e); } }