added version to dump annotation

This commit is contained in:
Igor Korsukov 2020-11-28 13:26:02 +02:00
parent 145c3b6f0f
commit ae9c6ce411

View file

@ -24,6 +24,7 @@
#include <thirdparty/google_crashpad_client/client/settings.h>
#include "log.h"
#include "global/version.h"
using namespace mu::telemetry;
using namespace crashpad;
@ -55,7 +56,9 @@ bool CrashHandler::start(const io::path& handlerFilePath, const io::path& dumpsD
#endif
// Optional annotations passed via --annotations to the handler
std::map<std::string, std::string> annotations;
std::map<std::string, std::string> annotations = {
{ "sentry[release]", framework::Version::fullVersion() }
};
// Optional arguments to pass to the handler
std::vector<std::string> arguments;
arguments.push_back("--no-rate-limit");