private static void OnNextEvent(BBEvent bbEvent)
 {
     try
     {
         InsightsClient.TrackEvent((EventTelemetry)bbEvent.ToTelemetry());
     }
     catch (Exception ex)
     {
         InsightsClient.TrackException(
             (ExceptionTelemetry) new BBInternalEvent("Error senting the telemetry event through AppInsights", ex).ToTelemetry());
     }
 }