From: Mike G. v. a. <we...@ma...> - 2008-07-24 13:49:38
|
Log Message: ----------- Changed "die" to "warn" when restoring tables. This gives a bit more room to workaround problems with updating the tables for old courses. Once we have a foolproof way of updating old courses we might move this back to a die message. Tags: ---- rel-2-4-patches Modified Files: -------------- webwork2/lib/WeBWorK/DB/Schema/NewSQL: Std.pm Revision Data ------------- Index: Std.pm =================================================================== RCS file: /webwork/cvs/system/webwork2/lib/WeBWorK/DB/Schema/NewSQL/Std.pm,v retrieving revision 1.10.2.2.2.2 retrieving revision 1.10.2.2.2.3 diff -Llib/WeBWorK/DB/Schema/NewSQL/Std.pm -Llib/WeBWorK/DB/Schema/NewSQL/Std.pm -u -r1.10.2.2.2.2 -r1.10.2.2.2.3 --- lib/WeBWorK/DB/Schema/NewSQL/Std.pm +++ lib/WeBWorK/DB/Schema/NewSQL/Std.pm @@ -250,7 +250,7 @@ my $exit = $? >> 8; my $signal = $? & 127; my $core = $? & 128; - die "Failed to restore table '".$self->sql_table_name."' with command '$restore_cmd' (exit=$exit signal=$signal core=$core): $restore_out\n"; + warn "Failed to restore table '".$self->sql_table_name."' with command '$restore_cmd' (exit=$exit signal=$signal core=$core): $restore_out\n"; } return 1; |