[LON-CAPA-cvs] cvs: loncom /interface loncoursedata.pm

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 27 May 2003 15:48:12 -0000


matthew		Tue May 27 11:48:12 2003 EDT

  Modified files:              
    /loncom/interface	loncoursedata.pm 
  Log:
  Debugging info to help track down white screen of death from spreadsheet.
  
  
Index: loncom/interface/loncoursedata.pm
diff -u loncom/interface/loncoursedata.pm:1.71 loncom/interface/loncoursedata.pm:1.72
--- loncom/interface/loncoursedata.pm:1.71	Mon May 19 11:44:15 2003
+++ loncom/interface/loncoursedata.pm	Tue May 27 11:48:12 2003
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncoursedata.pm,v 1.71 2003/05/19 15:44:15 matthew Exp $
+# $Id: loncoursedata.pm,v 1.72 2003/05/27 15:48:12 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1186,6 +1186,11 @@
     return () if (! defined($sname) || ! defined($sdom));
     #
     my ($status,$data) = &ensure_current_data($sname,$sdom,$courseid);
+    &Apache::lonnet::logthis
+        ('sname = '.$sname.
+         ' domain = '.$sdom.
+         ' status = '.$status.
+         ' data is '.(defined($data)?'defined':'undefined'));
     #
     if (defined($data)) {
         if (defined($symb)) {