Change crashreport url to to backtrace.io

From now on, all crashreports will be submitted to backtrace.io url. Backtrace.io also requires a different set of annotations.
This commit is contained in:
Roland Rossgotterer
2018-12-11 13:31:03 +01:00
committed by Klaus Basan
parent 39a77d9c16
commit 08558a0803
2 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{
"crashReportServerUrl": {
"url": "http://crashreports.swift-project.org/crashreports"
"url": "http://swift-project.sp.backtrace.io:6097/"
},
"dbDebugFlag": false,
"dbHttpPort": 80,

View File

@@ -1634,9 +1634,10 @@ namespace BlackCore
const CUrl serverUrl = this->getGlobalSetup().getCrashReportServerUrl();
std::map<std::string, std::string> annotations;
// Caliper (mini-breakpad-server) annotations
annotations["prod"] = executable().toStdString();
annotations["ver"] = CBuildConfig::getVersionString().toStdString();
// Backtrace annotations
annotations["token"] = "b15efd93e290be3cf5d39750cadc092b651327ff0c027b80abd75e0ee50df1da";
annotations["format"] = "minidump";
annotations["version"] = CBuildConfig::getVersionString().toStdString();
QDir().mkpath(database);
m_crashReportDatabase = CrashReportDatabase::Initialize(qstringToFilePath(database));