[LON-CAPA-cvs] cvs: loncom /interface lonprintout.pm
foxr
lon-capa-cvs-allow@mail.lon-capa.org
Tue, 11 Mar 2008 09:52:57 -0000
foxr Tue Mar 11 05:52:57 2008 EDT
Modified files:
/loncom/interface lonprintout.pm
Log:
BZ 5509 - Added logging of ssi failures....this way if there are multiple
failures, the log file sees them all even though the user only sees the
most recent.
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.518 loncom/interface/lonprintout.pm:1.519
--- loncom/interface/lonprintout.pm:1.518 Mon Mar 10 06:10:18 2008
+++ loncom/interface/lonprintout.pm Tue Mar 11 05:52:56 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Printout
#
-# $Id: lonprintout.pm,v 1.518 2008/03/10 10:10:18 foxr Exp $
+# $Id: lonprintout.pm,v 1.519 2008/03/11 09:52:56 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -149,6 +149,8 @@
$ssi_error = 1;
$ssi_last_error_resource = $resource;
$ssi_last_error = $response->code . " " . $response->message;
+
+ &Apache::lonnet::logthis("Error in SSI resource: $resource Error: $ssi_last_error");
}
return $content;