Created
March 3, 2015 22:57
-
-
Save anujb/3eb0d162cdb244f63bec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Logger.Info("Sending analytics request to Segment.io ..", props); | |
var start = DateTime.Now; | |
HttpResponseMessage response = null; | |
try { | |
//breakpoint hit | |
response = _client.SendAsync(request).Result; | |
} catch (System.Exception ex) { | |
Console.WriteLine(ex); | |
Logger.Error(ex.Message + ex.InnerException); | |
} | |
//breakpoint never fires | |
var duration = DateTime.Now - start; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment