[LON-CAPA-cvs] cvs: loncom /imspackages imsimportdocs.pm

albertel lon-capa-cvs-allow@mail.lon-capa.org
Thu, 02 Aug 2007 01:33:31 -0000


albertel		Wed Aug  1 21:33:31 2007 EDT

  Modified files:              
    /loncom/imspackages	imsimportdocs.pm 
  Log:
  - switch spot error goes to
  
  
Index: loncom/imspackages/imsimportdocs.pm
diff -u loncom/imspackages/imsimportdocs.pm:1.19 loncom/imspackages/imsimportdocs.pm:1.20
--- loncom/imspackages/imsimportdocs.pm:1.19	Thu Nov  2 16:07:15 2006
+++ loncom/imspackages/imsimportdocs.pm	Wed Aug  1 21:33:31 2007
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: imsimportdocs.pm,v 1.19 2006/11/02 21:07:15 albertel Exp $
+# $Id: imsimportdocs.pm,v 1.20 2007/08/02 01:33:31 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -657,7 +657,7 @@
         }
         my ($errtext,$fatal)=&Apache::londocs::group_import($crs,$cdom,$folder,'sequence','imsimport',@imports);
         if ($fatal) {
-            print STDERR "Fatal error during group_import\n";
+            &Apache::lonnet::logthis("Fatal error during group_import.");
         }
     }
     if ($tempdir =~ m/^\/home\/httpd\/perl\/tmp\/$crs\/\d{10}/) {