[LON-CAPA-cvs] cvs: loncom /interface loncoursedata.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Thu, 17 Oct 2002 19:36:30 -0000
matthew Thu Oct 17 15:36:30 2002 EDT
Modified files:
/loncom/interface loncoursedata.pm
Log:
Log failed attempts to get students environment.
Index: loncom/interface/loncoursedata.pm
diff -u loncom/interface/loncoursedata.pm:1.37 loncom/interface/loncoursedata.pm:1.38
--- loncom/interface/loncoursedata.pm:1.37 Wed Oct 16 10:48:45 2002
+++ loncom/interface/loncoursedata.pm Thu Oct 17 15:36:30 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# (Publication Handler
#
-# $Id: loncoursedata.pm,v 1.37 2002/10/16 14:48:45 matthew Exp $
+# $Id: loncoursedata.pm,v 1.38 2002/10/17 19:36:30 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1438,6 +1438,8 @@
if ($tmp =~/^(con_lost|error|no_such_host)/i) {
$fullname = 'not available';
$id = 'not available';
+ &Apache::lonnet::logthis('unable to retrieve environment '.
+ 'for '.$sname.':'.$sdom);
} else {
$fullname = &ProcessFullName(@info{qw/lastname generation
firstname middlename/});