From: Rogan Hamby Date: Tue, 27 Aug 2019 19:19:41 +0000 (-0400) Subject: adding file path to error when file can't be opened X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=680a58667165f6840d0d62cafc322871856c4bd7 adding file path to error when file can't be opened --- diff --git a/mig-bin/mig-reporter b/mig-bin/mig-reporter index e7abe33..e281580 100755 --- a/mig-bin/mig-reporter +++ b/mig-bin/mig-reporter @@ -178,7 +178,7 @@ $report_file = $MIGGITDIR . $report_file; if ($excel_output == 1) { $workbook = Excel::Writer::XLSX->new( $report_file ); } else { - open($fh, '>', $report_file) or abort("Could not open output file!"); + open($fh, '>', $report_file) or abort("Could not open output file $report_file!"); write_title_page($report_title,$fh,$analyst,$captions_off); }; diff --git a/mig-xml/excel_mapping_reports.xml b/mig-xml/excel_mapping_reports.xml index 398ee4b..88b0700 100644 --- a/mig-xml/excel_mapping_reports.xml +++ b/mig-xml/excel_mapping_reports.xml @@ -632,9 +632,9 @@ Count.Collection SELECT COUNT(id), l_collection FROM asset_copy_legacy GROUP BY 2 ORDER BY 2; - - hz_copybycollection + + hz_copybycollection Copies by Collection horizon 1 @@ -762,6 +762,7 @@ SELECT COUNT(id), l_access_if_applicable FROM actor_usr_legacy GROUP BY 2 ORDER BY 2; + rm_actor_comments Patron Comments