From 52352ecadd8a383d29a2528e1b2d10232869e531 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Fri, 17 Sep 2010 17:08:15 +0000 Subject: [PATCH] Wrong urls logging implemented --- IISMainHandler/handlers/WrongUrlHandler.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IISMainHandler/handlers/WrongUrlHandler.cs b/IISMainHandler/handlers/WrongUrlHandler.cs index 4336a8e..68eb997 100644 --- a/IISMainHandler/handlers/WrongUrlHandler.cs +++ b/IISMainHandler/handlers/WrongUrlHandler.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Text; using System.Web; using System.Xml.Linq; +using FLocal.Core; namespace FLocal.IISHandler.handlers { class WrongUrlHandler : AbstractGetHandler { @@ -15,6 +16,7 @@ namespace FLocal.IISHandler.handlers { } protected override IEnumerable getSpecificData(WebContext context) { + context.LogError(new WrongUrlException()); return new XElement[] { new XElement("path", context.httprequest.Path) };