forked from qt-creator/qt-creator
crashpad: add sha to sentry annotations
Change-Id: I7142da6d8fc61643512ff2ae6f581bf6795ab802
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
(cherry picked from commit ef6ab90d1c
)
This commit is contained in:
@@ -466,6 +466,9 @@ bool startCrashpad(const QString &libexecPath, bool crashReportingEnabled)
|
|||||||
std::map<std::string, std::string> annotations;
|
std::map<std::string, std::string> annotations;
|
||||||
annotations["app-version"] = Core::Constants::IDE_VERSION_DISPLAY;
|
annotations["app-version"] = Core::Constants::IDE_VERSION_DISPLAY;
|
||||||
annotations["qt-version"] = QT_VERSION_STR;
|
annotations["qt-version"] = QT_VERSION_STR;
|
||||||
|
#ifdef IDE_REVISION
|
||||||
|
annotations["sha1"] = Core::Constants::IDE_REVISION_STR;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Optional arguments to pass to the handler
|
// Optional arguments to pass to the handler
|
||||||
std::vector<std::string> arguments;
|
std::vector<std::string> arguments;
|
||||||
|
Reference in New Issue
Block a user