mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 12:46:46 +00:00
fix(GODT-2669): Display sentry ID in bridge init log.
This commit is contained in:
@ -325,6 +325,7 @@ func withLogging(c *cli.Context, crashHandler *crash.Handler, locations *locatio
|
||||
WithField("build", constants.BuildTime).
|
||||
WithField("runtime", runtime.GOOS).
|
||||
WithField("args", os.Args).
|
||||
WithField("SentryID", sentry.GetProtectedHostname()).
|
||||
Info("Run app")
|
||||
|
||||
return fn()
|
||||
|
||||
@ -96,7 +96,6 @@ func GetTimeZone() string {
|
||||
|
||||
// NewReporter creates new sentry reporter with appName and appVersion to report.
|
||||
func NewReporter(appName string, identifier Identifier) *Reporter {
|
||||
logrus.WithField("id", GetProtectedHostname()).Info("New sentry reporter")
|
||||
return &Reporter{
|
||||
appName: appName,
|
||||
appVersion: constants.Revision,
|
||||
|
||||
Reference in New Issue
Block a user