proxy: show version on startup
This commit is contained in:
@ -10,6 +10,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/BeryJu/passbook/proxy/pkg"
|
||||||
"github.com/BeryJu/passbook/proxy/pkg/client"
|
"github.com/BeryJu/passbook/proxy/pkg/client"
|
||||||
"github.com/BeryJu/passbook/proxy/pkg/client/outposts"
|
"github.com/BeryJu/passbook/proxy/pkg/client/outposts"
|
||||||
"github.com/getsentry/sentry-go"
|
"github.com/getsentry/sentry-go"
|
||||||
@ -70,6 +71,7 @@ func doGlobalSetup(config map[string]interface{}) {
|
|||||||
default:
|
default:
|
||||||
log.SetLevel(log.DebugLevel)
|
log.SetLevel(log.DebugLevel)
|
||||||
}
|
}
|
||||||
|
log.WithField("version", pkg.VERSION).Info("Starting passbook proxy")
|
||||||
|
|
||||||
var dsn string
|
var dsn string
|
||||||
if config[ConfigErrorReportingEnabled].(bool) {
|
if config[ConfigErrorReportingEnabled].(bool) {
|
||||||
|
|||||||
Reference in New Issue
Block a user