From 75cb2b4f20ef3ffaedb246d4361b4cdd01e8c3ee Mon Sep 17 00:00:00 2001 From: Mike Cantelon Date: Thu, 16 May 2024 10:57:09 -0700 Subject: [PATCH] work --- internal/activities/combine_premis.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 }