--- loncom/xml/run.pm 2003/04/03 14:35:59 1.35 +++ loncom/xml/run.pm 2003/06/09 21:37:54 1.37 @@ -1,6 +1,6 @@ package Apache::run; # -# $Id: run.pm,v 1.35 2003/04/03 14:35:59 albertel Exp $ +# $Id: run.pm,v 1.37 2003/06/09 21:37:54 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -38,6 +38,7 @@ ENDEVALUATE sub evaluate { my ($expression,$safeeval,$decls) = @_; + &Apache::lonxml::debug("got $expression and decls $decls"); unless (defined($expression)) { return ''; } if ($Apache::lonxml::evaluate < 1) { return $expression; } my $result = ''; @@ -93,7 +94,6 @@ sub run { alarm(0); }; my $error=$@; - &Apache::lonxml::debug("run got $@"); if (($Apache::run::timeout || $error ne '' || $innererror ne '') && !$hideerrors) { if ($Apache::run::timeout) { $error = 'Code ran too long. It ran for more than '.