Compare commits

...

1 Commits

Author SHA1 Message Date
Vladislav Yarmak
f8129259ba print shutdown reason 2020-03-27 01:39:58 +02:00

View File

@@ -100,7 +100,7 @@ func main() {
}
mainLogger.Info("Starting proxy server...")
handler := NewProxyHandler(endpoint, auth, proxyLogger)
http.ListenAndServe(args.bind_address, handler)
err = http.ListenAndServe(args.bind_address, handler)
mainLogger.Critical("Server terminated with a reason: %v", err)
mainLogger.Info("Shutting down...")
}