[LON-CAPA-cvs] cvs: loncom /xml lontexconvert.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 04 Mar 2004 15:41:18 -0000


albertel		Thu Mar  4 10:41:18 2004 EDT

  Modified files:              
    /loncom/xml	lontexconvert.pm 
  Log:
  - trying to handle BUG#2522, more of a shot in the dark than anything else.
  
  
  
Index: loncom/xml/lontexconvert.pm
diff -u loncom/xml/lontexconvert.pm:1.31 loncom/xml/lontexconvert.pm:1.32
--- loncom/xml/lontexconvert.pm:1.31	Thu Mar  4 10:40:22 2004
+++ loncom/xml/lontexconvert.pm	Thu Mar  4 10:41:18 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # TeX Conversion Module
 #
-# $Id: lontexconvert.pm,v 1.31 2004/03/04 15:40:22 albertel Exp $
+# $Id: lontexconvert.pm,v 1.32 2004/03/04 15:41:18 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -108,6 +108,10 @@
 	$xmlstring=~s/\s*$//;
     }
 ENDCONV
+    if ($@) {
+	$errorstring.="Evaluation Error $@";
+	$Apache::lontexconvert::messedup=1;
+    }
     if ($Apache::lontexconvert::messedup || &tth::tthmessedup()) {
 	&Apache::lonnet::logthis("Trying to kill myself");
 	$Apache::lontexconvert::messedup=1;