Make missing IPv6 a warning not an error

This commit is contained in:
shortcutme 2019-08-18 03:02:30 +02:00
parent 2a887870ff
commit 7d1ca3862d
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -108,7 +108,7 @@ class FileServer(ConnectionServer):
self.log.debug("IPv6 supported on IP %s" % local_ipv6)
return True
except socket.error as err:
self.log.error("IPv6 not supported: %s" % err)
self.log.warning("IPv6 not supported: %s" % err)
return False
except Exception as err:
self.log.error("IPv6 check error: %s" % err)