summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId.Test/UI/WebControlTesting.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenId.Test/UI/WebControlTesting.cs')
-rw-r--r--src/DotNetOpenId.Test/UI/WebControlTesting.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenId.Test/UI/WebControlTesting.cs b/src/DotNetOpenId.Test/UI/WebControlTesting.cs
index 08afecf..2ec010f 100644
--- a/src/DotNetOpenId.Test/UI/WebControlTesting.cs
+++ b/src/DotNetOpenId.Test/UI/WebControlTesting.cs
@@ -58,10 +58,10 @@ namespace DotNetOpenId.Test.UI {
redirectUrl = new Uri(providerResponse.Headers[HttpResponseHeader.Location]);
}
} catch (WebException ex) {
- Trace.WriteLine(ex);
+ TestSupport.Logger.Error("WebException", ex);
if (ex.Response != null) {
using (StreamReader sr = new StreamReader(ex.Response.GetResponseStream())) {
- Trace.WriteLine(sr.ReadToEnd());
+ TestSupport.Logger.ErrorFormat("Response stream follows: {0}", sr.ReadToEnd());
}
}
throw;