More messages for /revision errors.
This commit is contained in:
parent
4e69540d14
commit
4e552ae5b2
@ -57,6 +57,10 @@ public class DebugInfo
|
||||
}
|
||||
}
|
||||
|
||||
if (!File.Exists(ChangeLogFilePath)) {
|
||||
return "changelog.xml doesn't exist";
|
||||
}
|
||||
|
||||
var ChangeLogPatternFilePath = Path.Combine(basePath, TemplateName);
|
||||
|
||||
var xmlLog = new XmlDocument();
|
||||
|
@ -12,15 +12,17 @@ namespace TeamLab.HttpHandlers
|
||||
get { return false; }
|
||||
}
|
||||
|
||||
public string result;
|
||||
|
||||
public void ProcessRequest(HttpContext context)
|
||||
{
|
||||
var DebugString = DebugInfo.DebugString;
|
||||
string result = "result's empty";
|
||||
if (!String.IsNullOrEmpty(DebugString))
|
||||
{
|
||||
result = DebugString;
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
if (DebugString == null)
|
||||
{
|
||||
result = "DebugString's null";
|
||||
@ -30,6 +32,10 @@ namespace TeamLab.HttpHandlers
|
||||
result = DebugInfo.GetStaticDebugString();
|
||||
}
|
||||
}
|
||||
if (result == String.Empty)
|
||||
{
|
||||
result = "result's empty";
|
||||
}
|
||||
context.Response.Write(result);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user