fixing fatalf behaviour

This commit is contained in:
Máximo Cuadros Ortiz
2014-11-25 23:21:35 +01:00
parent 314ff5117d
commit 8a1a1925c8
2 changed files with 2 additions and 2 deletions

View File

@@ -264,7 +264,7 @@ func (s *Server) AcceptLoop() {
Noticef("Listening for client connections on %s", hp)
l, e := net.Listen("tcp", hp)
if e != nil {
Fatalf("Error listening on port: %d - %v", s.opts.Port, e)
Fatalf("Error listening on port: %s, %q", hp, e)
return
}