fix(GODT-2669): Display sentry ID in bridge init log.

This commit is contained in:
Romain LE JEUNE
2023-05-31 14:28:26 +02:00
parent 0eab1c0c2b
commit c4dc829e6d
2 changed files with 1 additions and 1 deletions

View File

@ -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()

View File

@ -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,