Commit 223be8b0 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Disable useless and too verbose LOG warnings.

parent 5b00999a
......@@ -807,9 +807,9 @@ class Resource(XMLObject, XMLMatrix, VariatedMixin):
except (ArithmeticError, AttributeError, LookupError, TypeError), error:
# For compatibility, we only log the error and return None.
# No exception for the moment.
LOG('Resource.convertQuantity', WARNING,
'could not convert quantity for %s (%r)'
% (self.getRelativeUrl(), error))
# LOG('Resource.convertQuantity', WARNING,
# 'could not convert quantity for %s (%r)'
# % (self.getRelativeUrl(), error))
return None
if transformed_resource is not None:
......
......@@ -166,9 +166,10 @@ class SimulationMovement(PropertyRecordableMixin, Movement, ExplainableMixin):
getState = applied_rule.getCausalityValue() \
.aq_explicit.getSimulationMovementSimulationState
except (AttributeError, KeyError):
LOG('SimulationMovement.getSimulationState', WARNING,
'Could not acquire simulation state from %s'
% self.getRelativeUrl(), error=True)
pass
# LOG('SimulationMovement.getSimulationState', WARNING,
# 'Could not acquire simulation state from %s'
# % self.getRelativeUrl(), error=True)
else:
return getState(self)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment