mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +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": {
|
||||
"url": "http://crashreports.swift-project.org/crashreports"
|
||||
"url": "http://swift-project.sp.backtrace.io:6097/"
|
||||
},
|
||||
"dbDebugFlag": false,
|
||||
"dbHttpPort": 80,
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user