From: Mike G. v. a. <we...@ma...> - 2008-06-21 16:44:59
|
Log Message: ----------- Give more information in error message. Modified Files: -------------- webwork2/lib: WebworkSOAP.pm Revision Data ------------- Index: WebworkSOAP.pm =================================================================== RCS file: /webwork/cvs/system/webwork2/lib/WebworkSOAP.pm,v retrieving revision 1.11 retrieving revision 1.12 diff -Llib/WebworkSOAP.pm -Llib/WebworkSOAP.pm -u -r1.11 -r1.12 --- lib/WebworkSOAP.pm +++ lib/WebworkSOAP.pm @@ -50,7 +50,7 @@ } #Construct DB handle my $db = eval { new WeBWorK::DB($ce->{dbLayout}); }; - $@ and soap_fault_major("Failed to initialize database handle."); + $@ and soap_fault_major("Failed to initialize database handle.<br>$@"); $self->{db} = $db; $self->{ce} = $ce; bless $self; |