Skip to content
Snippets Groups Projects
Commit bdbd665c authored by Blanche Miret's avatar Blanche Miret
Browse files

Sort missing_slugs whne raising MissingTyperError

parent e18333c0
No related branches found
No related tags found
1 merge request!118Resolve "Do not send metas=None on create_entity"
Pipeline #78648 failed
......@@ -31,7 +31,7 @@ class ElementMixin(object):
if missing_slugs:
raise MissingTypeError(
f'Element type(s) {", ".join(missing_slugs)} were not found in the {corpus["name"]} corpus ({corpus["id"]}).'
f'Element type(s) {", ".join(sorted(missing_slugs))} were not found in the {corpus["name"]} corpus ({corpus["id"]}).'
)
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment