Log Message:
-----------
Expanded information in error messages.
Modified Files:
--------------
webwork-modperl/lib/WeBWorK/Utils:
CourseManagement.pm
webwork-modperl/lib/WeBWorK/Utils/CourseManagement:
sql_single.pm
Revision Data
-------------
Index: CourseManagement.pm
===================================================================
RCS file: /webwork/cvs/system/webwork-modperl/lib/WeBWorK/Utils/CourseManagement.pm,v
retrieving revision 1.24
retrieving revision 1.25
diff -Llib/WeBWorK/Utils/CourseManagement.pm -Llib/WeBWorK/Utils/CourseManagement.pm -u -r1.24 -r1.25
--- lib/WeBWorK/Utils/CourseManagement.pm
+++ lib/WeBWorK/Utils/CourseManagement.pm
@@ -569,7 +569,7 @@
debug("archiving course dir: $tarCmd $archivePath $courseDir \n");
my $tarStatement = "$tarCmd -zcf $archivePath $courseDir";
my $tarResult = system $tarStatement ;
- $tarResult and die "failed to tar course directory with command: '$tarStatement ' (errno: $tarResult): $!\n";
+ $tarResult and die "Failed to tar course directory with command: '$tarStatement ' (errno: $tarResult): $!\n";
}
Index: sql_single.pm
===================================================================
RCS file: /webwork/cvs/system/webwork-modperl/lib/WeBWorK/Utils/CourseManagement/sql_single.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -Llib/WeBWorK/Utils/CourseManagement/sql_single.pm -Llib/WeBWorK/Utils/CourseManagement/sql_single.pm -u -r1.6 -r1.7
--- lib/WeBWorK/Utils/CourseManagement/sql_single.pm
+++ lib/WeBWorK/Utils/CourseManagement/sql_single.pm
@@ -352,7 +352,8 @@
" >$archiveDatabasePath";
debug($exportStatement);
my $exportResult = system $exportStatement;
- $exportResult and die "failed to tar course directory with command: '$exportResult ' (errno: $exportResult): $!\n";
+ $exportResult and die "Failed to export database with command: '$exportStatement ' (errno: $exportResult): $!
+ \n\n Check server error log for more information.";
##### issue SQL statements #####
|