Skip to content
Snippets Groups Projects
Commit 616ce615 authored by Stanley Goldman's avatar Stanley Goldman
Browse files

Fixing bug and removing useless log messages

parent 337877b9
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ namespace GitHub.Unity
public class UsageModel
{
private List<Usage> reports;
private List<Usage> reports = new List<Usage>();
public IList<Usage> Reports
{
......
......@@ -51,15 +51,6 @@ namespace GitHub.Unity
if (json != null)
{
result = SimpleJson.DeserializeObject<UsageStore>(json);
if (result.Model == null)
{
Logger.Warning("Model is Null");
}
if (result.Model.Reports == null)
{
Logger.Warning("Reports is Null");
}
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment