mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-16 07:06:45 +00:00
chore: fix sentry tag for dev and release on GUI side.
This commit is contained in:
committed by
Romain Le Jeune
parent
caa4a5cbdb
commit
2a4cb6a916
2
Makefile
2
Makefile
@ -161,7 +161,7 @@ ${EXE_TARGET}: check-build-essentials ${EXE_NAME}
|
|||||||
BRIDGE_DSN_SENTRY=${DSN_SENTRY} \
|
BRIDGE_DSN_SENTRY=${DSN_SENTRY} \
|
||||||
BRIDGE_BUILD_TIME=${BUILD_TIME} \
|
BRIDGE_BUILD_TIME=${BUILD_TIME} \
|
||||||
BRIDGE_GUI_BUILD_CONFIG=Release \
|
BRIDGE_GUI_BUILD_CONFIG=Release \
|
||||||
BRIDGE_BUILD_ENV=BUILD_ENV \
|
BRIDGE_BUILD_ENV=${BUILD_ENV} \
|
||||||
BRIDGE_INSTALL_PATH=${ROOT_DIR}/${DEPLOY_DIR}/${GOOS} \
|
BRIDGE_INSTALL_PATH=${ROOT_DIR}/${DEPLOY_DIR}/${GOOS} \
|
||||||
./build.sh install
|
./build.sh install
|
||||||
mv "${ROOT_DIR}/${BRIDGE_EXE}" "$(ROOT_DIR)/${EXE_TARGET}"
|
mv "${ROOT_DIR}/${BRIDGE_EXE}" "$(ROOT_DIR)/${EXE_TARGET}"
|
||||||
|
|||||||
@ -48,7 +48,7 @@ QString appVersion(const QString& version) {
|
|||||||
void setSentryReportScope() {
|
void setSentryReportScope() {
|
||||||
sentry_set_tag("OS", bridgepp::goos().toUtf8());
|
sentry_set_tag("OS", bridgepp::goos().toUtf8());
|
||||||
sentry_set_tag("Client", PROJECT_FULL_NAME);
|
sentry_set_tag("Client", PROJECT_FULL_NAME);
|
||||||
sentry_set_tag("Version", QByteArray(PROJECT_REVISION).toHex());
|
sentry_set_tag("Version", PROJECT_REVISION);
|
||||||
sentry_set_tag("HostArch", QSysInfo::currentCpuArchitecture().toUtf8());
|
sentry_set_tag("HostArch", QSysInfo::currentCpuArchitecture().toUtf8());
|
||||||
sentry_set_tag("server_name", getProtectedHostname());
|
sentry_set_tag("server_name", getProtectedHostname());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user