feat(GODT-3156): add time zone info to the bridge log.
This commit is contained in:
parent
9b1daa0373
commit
e63afd3910
|
@ -26,6 +26,7 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"time"
|
||||
|
||||
"github.com/Masterminds/semver/v3"
|
||||
"github.com/ProtonMail/gluon/async"
|
||||
|
@ -371,6 +372,12 @@ func withLogging(c *cli.Context, crashHandler *crash.Handler, locations *locatio
|
|||
WithField("SentryID", sentry.GetProtectedHostname()).
|
||||
Info("Run app")
|
||||
|
||||
now := time.Now()
|
||||
logrus.
|
||||
WithField("timeZone", now.Format("MST")).
|
||||
WithField("offset", now.Format("-07:00:00")).
|
||||
Info("Time zone info")
|
||||
|
||||
return fn(closer)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue