From 680a58667165f6840d0d62cafc322871856c4bd7 Mon Sep 17 00:00:00 2001 From: Rogan Hamby Date: Tue, 27 Aug 2019 15:19:41 -0400 Subject: [PATCH] adding file path to error when file can't be opened --- mig-bin/mig-reporter | 2 +- mig-xml/excel_mapping_reports.xml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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 -- 1.7.2.5