mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
add error message to forwarding log error (#7857)
This commit is contained in:
committed by
Christopher Speller
parent
5cf45d2155
commit
e36ab04416
+1
-1
@@ -166,7 +166,7 @@ func (a *App) StartServer() {
|
||||
redirectListener, err := net.Listen("tcp", ":80")
|
||||
if err != nil {
|
||||
listener.Close()
|
||||
l4g.Error("Unable to setup forwarding")
|
||||
l4g.Error("Unable to setup forwarding: " + err.Error())
|
||||
return
|
||||
}
|
||||
defer redirectListener.Close()
|
||||
|
||||
Reference in New Issue
Block a user