Update server.go

This commit is contained in:
8lecramm 2024-04-11 21:37:31 +02:00 committed by GitHub
parent beab244bce
commit cfa71f8203
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -268,7 +268,7 @@ func StartServer() {
Addrs: []string{cfg.Settings.ListenAddress},
})
err = srv.Start()
err := srv.Start()
if err != nil {
log.Println(err)
os.Exit(2)