Audacity 3.2.0
Classes | Namespaces | Functions
SentryReport.cpp File Reference

Define a class to report errors to Sentry. More...

#include "SentryReport.h"
#include <chrono>
#include <cstring>
#include <mutex>
#include <algorithm>
#include <cctype>
#include <regex>
#include <rapidjson/document.h>
#include <rapidjson/writer.h>
#include <rapidjson/prettywriter.h>
#include <wx/platinfo.h>
#include <wx/log.h>
#include "CodeConversions.h"
#include "Uuid.h"
#include "IResponse.h"
#include "NetworkManager.h"
#include "SentryRequestBuilder.h"
Include dependency graph for SentryReport.cpp:

Go to the source code of this file.

Classes

class  audacity::sentry::anonymous_namespace{SentryReport.cpp}::ExceptionContext
 Helper class to store additional details about the exception. More...
 
class  audacity::sentry::Report::ReportImpl
 

Namespaces

namespace  audacity
 
namespace  audacity::sentry
 
namespace  audacity::sentry::anonymous_namespace{SentryReport.cpp}
 

Functions

void audacity::sentry::anonymous_namespace{SentryReport.cpp}::AddOSContext (rapidjson::Value &root, rapidjson::Document::AllocatorType &allocator)
 Append the data about the operating system to the JSON document. More...
 
rapidjson::Document audacity::sentry::anonymous_namespace{SentryReport.cpp}::CreateSentryDocument ()
 Create the minimal required Sentry JSON document. More...
 
void audacity::sentry::anonymous_namespace{SentryReport.cpp}::AddExceptionDataToJson (rapidjson::Value &value, rapidjson::Document::AllocatorType &allocator, const ExceptionData &data)
 Append the ExceptionData to the Exception JSON object. More...
 
void audacity::sentry::anonymous_namespace{SentryReport.cpp}::SerializeException (const Exception &exception, rapidjson::Value &root, rapidjson::Document::AllocatorType &allocator)
 Serialize the Exception to JSON. More...
 
void audacity::sentry::AddExceptionContext (std::string parameterName, AnonymizedMessage parameterValue)
 Saves a parameter, that will be appended to the next Exception report. More...
 

Detailed Description

Define a class to report errors to Sentry.


Audacity: A Digital Audio Editor

Dmitry Vedenko

Definition in file SentryReport.cpp.