diff --git a/cg_lims/EPPs/udf/copy/measurement_to_analyte.py b/cg_lims/EPPs/udf/copy/measurement_to_analyte.py index 5c2a98b8..cc97b6d0 100644 --- a/cg_lims/EPPs/udf/copy/measurement_to_analyte.py +++ b/cg_lims/EPPs/udf/copy/measurement_to_analyte.py @@ -31,8 +31,9 @@ def copy_udfs_to_all_analytes( except: failed_artifacts += 1 if failed_artifacts: + udfs_summary="\', and udf \'".join(str(x[0]) for x in udfs) raise MissingUDFsError( - message=f"Failed to set artifact udfs on {failed_artifacts} artifacts. See log for details" + message=f"Failed to set artifact udf \'{udfs_summary}\' on {failed_artifacts} artifacts. See log for details" )