]> gerrit.simantics Code Review - simantics/platform.git/commit
Removed logging of PendingVariableExceptions from LabelContribution
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 2 Feb 2017 11:22:03 +0000 (13:22 +0200)
committerjsimomaa <jani.simomaa@gmail.com>
Fri, 28 Apr 2017 13:08:43 +0000 (16:08 +0300)
commite9a5c6de15beb3beca8c2aa6e6d4a5dcda9821bb
tree0e69eed1933affedb86e0101efdaea965e2771f2
parent53d529a5655a84b19a797b34886bc09e0b801ee0
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