Exemplo n.º 1
0
        public async Task <bool> UploadExceptionAsync(SerializableException exception, bool force = false)
        {
            if (IsTelemetryEnabled || force)
            {
                _editorContext.WriteToLog(Resources.ExceptionEncountered);
                _editorContext.WriteToLog(exception.GetDescription());

                return(await UploadExceptionAsync(exception));
            }
            else
            {
                return(false);
            }
        }