summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId.Test/Hosting/HttpHost.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenId.Test/Hosting/HttpHost.cs')
-rw-r--r--src/DotNetOpenId.Test/Hosting/HttpHost.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenId.Test/Hosting/HttpHost.cs b/src/DotNetOpenId.Test/Hosting/HttpHost.cs
index d6e73ab..dc69848 100644
--- a/src/DotNetOpenId.Test/Hosting/HttpHost.cs
+++ b/src/DotNetOpenId.Test/Hosting/HttpHost.cs
@@ -73,10 +73,10 @@ namespace DotNetOpenId.Test.Hosting {
return sr.ReadToEnd();
}
} catch (WebException ex) {
- Console.Error.WriteLine(ex);
+ TestSupport.Logger.Error("Exception in HttpHost", ex);
using (StreamReader sr = new StreamReader(ex.Response.GetResponseStream())) {
string streamContent = sr.ReadToEnd();
- Console.Error.WriteLine(streamContent);
+ TestSupport.Logger.ErrorFormat("Error content stream follows: {0}", streamContent);
}
throw;
}