Commits

bc Wong committed f236468

Log with resolved sockaddr instead

  • Participants
  • Parent commits 24505b3

Comments (0)

Files changed (1)

File cherrypy/wsgiserver/wsgiserver2.py

             try:
                 self.bind(af, socktype, proto)
             except socket.error, serr:
-                msg = "%s -- (%s: %s)" % (msg, self.bind_addr, serr)
+                msg = "%s -- (%s: %s)" % (msg, sa, serr)
                 if self.socket:
                     self.socket.close()
                 self.socket = None