diff --git a/internal/activities/combine_premis.go b/internal/activities/combine_premis.go index 0dd61e20..58925df6 100644 --- a/internal/activities/combine_premis.go +++ b/internal/activities/combine_premis.go @@ -122,7 +122,10 @@ func CombinePREMISCopy(source_filepath string, destination_filepath string) (boo CombinePREMISAddChildElements(dest_premis_element, source_premis_agent_elements) dest_doc.Indent(2) - dest_doc.WriteToFile(destination_filepath) + err = dest_doc.WriteToFile(destination_filepath) + if err != nil { + panic("ZZZ") + } return true, nil }