|
@@ -128,7 +128,7 @@ namespace SufeiUtil
|
|
|
{
|
|
|
// 停止计时;
|
|
|
stopwatch.Stop();
|
|
|
- Log.WriteTimesdLog(string.Format("\r\n配置参数时出错 url={0}\r\nPostdata={1}\r\nElapsed={2}ms\r\n", item.URL, item.Postdata, stopwatch.ElapsedMilliseconds.ToString()));
|
|
|
+ Log.WriteTimesdLog(string.Format("\r\n{0} url={1}\r\nPostdata={2}\r\nElapsed={3}ms\r\n", ex.Message, item.URL, item.Postdata, stopwatch.ElapsedMilliseconds.ToString()));
|
|
|
stopwatch.Reset();
|
|
|
//配置参数时出错
|
|
|
return new HttpResult() { Cookie = string.Empty, Header = null, Html = ex.Message, StatusDescription = "配置参数时出错:" + ex.Message };
|