Permalink
Browse files

Improved request tracing info for static content

  • Loading branch information...
thecodejunkie committed Apr 10, 2012
1 parent a27a04b commit 8c6a65368d23507c629e2291169ab6c2780e36e9
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Nancy/Conventions/StaticContentConventionBuilder.cs
@@ -47,6 +47,7 @@ static StaticContentConventionBuilder()
if (!pathWithoutFilename.Equals(requestedPath, StringComparison.OrdinalIgnoreCase))
{
+ ctx.Trace.TraceLog.WriteLog(x => x.AppendLine(string.Concat("[StaticContentConventionBuilder] The requested resource '", path, "' does not match convention mapped to '", requestedPath, "'" )));
return null;
}

0 comments on commit 8c6a653

Please sign in to comment.