ChatterBox.Client.Universal.Background.StatsManager.TrackException C# (CSharp) Method

TrackException() public method

public TrackException ( Exception e ) : void
e System.Exception
return void
        public void TrackException(Exception e) {
            ExceptionTelemetry excTelemetry = new ExceptionTelemetry(e);
            excTelemetry.SeverityLevel = SeverityLevel.Critical;
            excTelemetry.HandledAt = ExceptionHandledAt.Unhandled;
            excTelemetry.Timestamp = System.DateTimeOffset.UtcNow;
            _telemetry.TrackException(excTelemetry);
        }