Skip to content

Commit

Permalink
More detailed error description
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusBurge-CG committed Oct 10, 2022
1 parent 5d722f1 commit 87f7a17
Show file tree
Hide file tree
Showing 2 changed files with 274 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cg_lims/EPPs/udf/copy/measurement_to_analyte.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)


Expand Down
Loading

0 comments on commit 87f7a17

Please sign in to comment.