[open-ils-commits] r10741 - trunk/Open-ILS/src/perlmods/OpenILS/WWW

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Sep 30 22:15:22 EDT 2008


Author: erickson
Date: 2008-09-30 22:15:20 -0400 (Tue, 30 Sep 2008)
New Revision: 10741

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/WWW/Vandelay.pm
Log:
more logs

Modified: trunk/Open-ILS/src/perlmods/OpenILS/WWW/Vandelay.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/WWW/Vandelay.pm	2008-10-01 02:13:37 UTC (rev 10740)
+++ trunk/Open-ILS/src/perlmods/OpenILS/WWW/Vandelay.pm	2008-10-01 02:15:20 UTC (rev 10741)
@@ -58,7 +58,7 @@
 	my $auth = $cgi->param('ses') || $cgi->cookie('ses');
 
 	unless(verify_login($auth)) {
-        $logger->error("authentication failed on vandelay record import");
+        $logger->error("authentication failed on vandelay record import: $auth");
 	    return Apache2::Const::FORBIDDEN;
     }
 
@@ -81,7 +81,7 @@
         my $outfile = "$dir/$data_fingerprint.mrc";
 
         unless(open(OUTFILE, ">$outfile")) {
-            $logger->error("unable to open MARC file for writing: $@");
+            $logger->error("unable to open MARC file [$outfile] for writing: $@");
 	        return Apache2::Const::FORBIDDEN;
         }
 



More information about the open-ils-commits mailing list