diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index 17822a2fc91fc5651507f6ad5c8aa59f112dcf95..baf972e8f8e73a71d6c5d1beb4a826b9444cae47 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -3763,7 +3763,8 @@ def _evaluate_and_add_error(parent_error, ent): if ent.get_errors() is not None: # In the highly unusual case of more than one error # message, attach all of them. - parent_error.msg = '\n'.join(ent.get_errors()) + parent_error.msg = '\n'.join( + [x.description for x in ent.get_errors()]) # Go through all container elements and add them: for elt in ent: parent_error = _evaluate_and_add_error(parent_error, elt)