mirror of
https://github.com/naruxde/revpimodio2.git
synced 2025-11-08 22:03:53 +01:00
Corrected misleading message
This commit is contained in:
@@ -743,7 +743,7 @@ class RevPiNetIO(_RevPiModIO):
|
|||||||
self._address = (ipv4, self._address[1])
|
self._address = (ipv4, self._address[1])
|
||||||
except Exception:
|
except Exception:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"ip '{0}' is no valid IPv4 address"
|
"can not resolve ip address for hostname '{0}'"
|
||||||
"".format(self._address[0])
|
"".format(self._address[0])
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user