for debugging, add the filename to the error log
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 30 Oct 2008 16:29:57 +0000 (16:29 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 30 Oct 2008 16:29:57 +0000 (16:29 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_4@10986 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index d568287..b0e34e2 100644 (file)
@@ -222,7 +222,7 @@ sub process_spool {
     my $filename = $data->{path};
 
     unless(-r $filename) {
-        $logger->error("unable to read MARC file");
+        $logger->error("unable to read MARC file $filename");
         return -1; # make this an event XXX
     }