fix purchase discount

This commit is contained in:
ivan deng
2021-04-07 16:48:33 +08:00
parent 2ec39fe30b
commit ac57b0f306
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ def app_relaxng(view_type):
relaxng_doc = etree.parse(frng)
_relaxng_cache[view_type] = etree.RelaxNG(relaxng_doc)
except Exception:
_logger.exception('Failed to load RelaxNG XML schema for views validation')
_logger.error('Failed to load RelaxNG XML schema for views validation')
_relaxng_cache[view_type] = None
return _relaxng_cache[view_type]