mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 10:55:32 +08:00
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:
committed by
Klaus Basan
parent
39a77d9c16
commit
08558a0803
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"crashReportServerUrl": {
|
"crashReportServerUrl": {
|
||||||
"url": "http://crashreports.swift-project.org/crashreports"
|
"url": "http://swift-project.sp.backtrace.io:6097/"
|
||||||
},
|
},
|
||||||
"dbDebugFlag": false,
|
"dbDebugFlag": false,
|
||||||
"dbHttpPort": 80,
|
"dbHttpPort": 80,
|
||||||
|
|||||||
@@ -1634,9 +1634,10 @@ namespace BlackCore
|
|||||||
const CUrl serverUrl = this->getGlobalSetup().getCrashReportServerUrl();
|
const CUrl serverUrl = this->getGlobalSetup().getCrashReportServerUrl();
|
||||||
std::map<std::string, std::string> annotations;
|
std::map<std::string, std::string> annotations;
|
||||||
|
|
||||||
// Caliper (mini-breakpad-server) annotations
|
// Backtrace annotations
|
||||||
annotations["prod"] = executable().toStdString();
|
annotations["token"] = "b15efd93e290be3cf5d39750cadc092b651327ff0c027b80abd75e0ee50df1da";
|
||||||
annotations["ver"] = CBuildConfig::getVersionString().toStdString();
|
annotations["format"] = "minidump";
|
||||||
|
annotations["version"] = CBuildConfig::getVersionString().toStdString();
|
||||||
|
|
||||||
QDir().mkpath(database);
|
QDir().mkpath(database);
|
||||||
m_crashReportDatabase = CrashReportDatabase::Initialize(qstringToFilePath(database));
|
m_crashReportDatabase = CrashReportDatabase::Initialize(qstringToFilePath(database));
|
||||||
|
|||||||
Reference in New Issue
Block a user