more logs
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 1 Oct 2008 02:15:20 +0000 (02:15 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 1 Oct 2008 02:15:20 +0000 (02:15 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10741 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/WWW/Vandelay.pm

index 8c7d585..d3fccfa 100644 (file)
@@ -58,7 +58,7 @@ sub spool_marc {
        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 @@ sub spool_marc {
         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;
         }