[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 27 Jun 2006 14:22:40 -0000
albertel Tue Jun 27 10:22:40 2006 EDT
Modified files:
/loncom/xml lonxml.pm
Log:
- need to add the machine id to the error messages in order for to tell the cause of some messages
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.412 loncom/xml/lonxml.pm:1.413
--- loncom/xml/lonxml.pm:1.412 Mon May 15 18:30:10 2006
+++ loncom/xml/lonxml.pm Tue Jun 27 10:22:39 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.412 2006/05/15 22:30:10 albertel Exp $
+# $Id: lonxml.pm,v 1.413 2006/06/27 14:22:39 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1539,7 +1539,8 @@
#public or browsers
$errormsg=&mt("An error occured while processing this resource. The author has been notified.");
}
- my $msg = join('<br />',@_);
+ my $host=$Apache::lonnet::perlvar{'lonHostID'};
+ my $msg = join('<br />',(@_,"The occured on host <tt>$host</tt>"));
#notify author
&Apache::lonmsg::author_res_msg($env{'request.filename'},$msg);
#notify course