Permalink
Browse files

Removed that god-awful console logging

  • Loading branch information...
penguinboy committed Feb 14, 2011
1 parent c7be98a commit 5635600833682968584c76acbb4da11321398a40
Showing with 8 additions and 3 deletions.
  1. +0 −2 HttpApi/RequestBase.cs
  2. +8 −1 Xml/EventAttendeesBuilder.cs
View
@@ -36,8 +36,6 @@ public string Url
firstKey = false;
}
- Console.WriteLine(builder.ToString());
-
return builder.ToString();
}
}
@@ -14,7 +14,14 @@ class EventAttendeesBuilder : BuilderBase
public Attendee[] Build(string xmlString)
{
- this.Validate(xmlString);
+ try
+ {
+ this.Validate(xmlString);
+ }
+ catch (Exception e)
+ {
+ return new Attendee[] { };
+ }
var stringReader = new StringReader(xmlString);
var toReturn = new List<Attendee>();

0 comments on commit 5635600

Please sign in to comment.