Fix: Log version of bot currently started

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-08-26 00:38:20 +02:00
parent bd46a37bea
commit 09054962f8
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -135,7 +135,7 @@ func main() {
h = httpHelpers.GzipHandler(h)
h = httpHelpers.NewHTTPLogHandler(h)
log.Info("Bot setup done, bot is now running")
log.WithField("version", version).Info("Bot setup done, bot is now running")
http.ListenAndServe(cfg.Listen, h)
}