[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

www lon-capa-cvs@mail.lon-capa.org
Mon, 10 Nov 2003 22:12:53 -0000


www		Mon Nov 10 17:12:53 2003 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  More info on "unable to tie" cache hash.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.444 loncom/lonnet/perl/lonnet.pm:1.445
--- loncom/lonnet/perl/lonnet.pm:1.444	Mon Nov 10 16:50:21 2003
+++ loncom/lonnet/perl/lonnet.pm	Mon Nov 10 17:12:52 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.444 2003/11/10 21:50:21 www Exp $
+# $Id: lonnet.pm,v 1.445 2003/11/10 22:12:52 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -895,7 +895,7 @@
 	}
     } else {
 	if (-e $filename) {
-	    &logthis("Unable to tie hash (save cache item): $name");
+	    &logthis("Unable to tie hash (save cache item): $name ($!)");
 	    unlink($filename);
 	}
     }
@@ -939,7 +939,7 @@
 	}        
     } else {
 	if (-e $filename) {
-	    &logthis("Unable to tie hash (load cache item): $name");
+	    &logthis("Unable to tie hash (load cache item): $name ($!)");
 	    unlink($filename);
 	}
     }