Commit 076926c4 by Vasyl Nakvasiuk

call `system.error_tracker` together with logging

parent 2348ed3d
......@@ -172,7 +172,9 @@ class ConditionalDescriptor(SequenceDescriptor):
else:
result.append(location)
except ItemNotFoundError:
log.exception("Invalid module by location.")
msg = "Invalid module by location."
log.exception(msg)
system.error_tracker(msg)
return result
def get_required_module_descriptors(self):
......@@ -198,7 +200,9 @@ class ConditionalDescriptor(SequenceDescriptor):
module_url = descriptor.location.url()
children.append(module_url)
except:
log.exception("Unable to load child when parsing Conditional.")
msg = "Unable to load child when parsing Conditional."
log.exception(msg)
system.error_tracker(msg)
return {'show_tag_list': show_tag_list}, children
def definition_to_xml(self, resource_fs):
......
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