Author: miguel
Date: 2007-03-30 17:26:05 -0500 (Fri, 30 Mar 2007)
New Revision: 75238

Modified:
   trunk/mcs/class/System.Web/System.Web/HttpException.cs
Log:
Add a timestamp

Modified: trunk/mcs/class/System.Web/System.Web/HttpException.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpException.cs      2007-03-30 
22:05:39 UTC (rev 75237)
+++ trunk/mcs/class/System.Web/System.Web/HttpException.cs      2007-03-30 
22:26:05 UTC (rev 75238)
@@ -126,7 +126,6 @@
 
                        builder.AppendFormat ("<h2><font 
color=\"maroon\"><i>{0}</i></font></h2>\r\n",
                                              HtmlEncode (Message));
-
                        builder.AppendFormat ("<b>Description: 
</b>{0}\r\n<p>\r\n", Description);
                        builder.Append ("<b>Error Message: </b>");
                        if (http_code != 0)
@@ -145,7 +144,7 @@
                                builder.Append 
("</td></tr>\r\n</table>\r\n<p>\r\n");
                        }
 
-                       builder.Append ("<hr>\r\n</body>\r\n</html>\r\n");
+                       builder.AppendFormat 
("<hr>\r\n{0}</body>\r\n</html>\r\n", DateTime.UtcNow);
                        builder.AppendFormat ("<!--\r\n{0}\r\n-->\r\n", 
HttpUtility.HtmlEncode (this.ToString ()));
 #if TARGET_J2EE //Required, because toString of Java doesn't print stackTrace
                        builder.AppendFormat ("<!--\r\n{0}\r\n-->\r\n", 
HttpUtility.HtmlEncode (this.StackTrace));

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to