]> gerrit.simantics Code Review - simantics/platform.git/commit
Removed logging of PendingVariableExceptions from LabelContribution 22/322/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 2 Feb 2017 11:22:03 +0000 (13:22 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 2 Feb 2017 11:22:03 +0000 (13:22 +0200)
commitcf355af9bf70b9bafea8e45f763e341e50343732
tree3b283d58ba873d7e83dc1d5a1bea29fc314b13ec
parent7618c2e6ae913b67ca299a610ab393961e16ae05
Removed logging of PendingVariableExceptions from LabelContribution

org.simantics.browsing.ui.model.labels.LabelContribution.getLabel used
to log all DatabaseExceptions which filled logs with very uninformative
PendingVariableException prints in normal operation.
PendingVariableExceptions are expected to happen in this context and
therefore should simply be ignored by returning empty labeling results.

refs #7011

Change-Id: Iec164d65682da038646c9fbfbee074016546095e
bundles/org.simantics.browsing.ui.model/src/org/simantics/browsing/ui/model/labels/LabelContribution.java