Commits

Afriza N. Arief committed ebcf634

Print Error Reason

  • Participants
  • Parent commits 859282b

Comments (0)

Files changed (1)

                     this.calendarService.SetAuthenticationToken(this.googleAuthToken);
                     this.Text = "Successfully logged in";
 
-                    EventQuery query = new EventQuery("http://www.google.com/calendar/feeds/default/private/full/");
+                    EventQuery query = new EventQuery("https://www.google.com/calendar/feeds/default/private/full/");
                     this.listView.Clear();
 
                     EventFeed feed = this.calendarService.Query(query);
                     if (entry.BatchData.Status.Code != 201)
                     {
                         success = false;
-                        Console.WriteLine("Batch operation with ID " + entry.BatchData.Id + " failed. Status Code: " + entry.BatchData.Status.Code);
+                        Console.WriteLine("Batch operation with ID " + entry.BatchData.Id + " failed. Status Code: " + entry.BatchData.Status.Code + ". Reason: "+ entry.BatchData.Status.Reason);
                     }
                 }
                 batchFeed = null;