Added prc to supported convert from formats (#2801)

Improved error message for not able to listen to ipv6 address with gevent
This commit is contained in:
Ozzie Isaacs
2023-10-28 13:49:16 +02:00
parent 6c2e40f544
commit a2a431802a
2 changed files with 2 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ class WebServer(object):
sock = WSGIServer.get_listener(address, family=socket.AF_INET6)
except socket.error as ex:
log.error('%s', ex)
log.warning('Unable to listen on "", trying on IPv4 only...')
log.warning('Unable to listen on {}, trying on IPv4 only...'.format(address))
address = ('', self.listen_port)
sock = WSGIServer.get_listener(address, family=socket.AF_INET)