summaryrefslogtreecommitdiffstats
path: root/src/utils/legacy.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/legacy.py')
-rw-r--r--src/utils/legacy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/legacy.py b/src/utils/legacy.py
index d3a0318..76fc6c6 100644
--- a/src/utils/legacy.py
+++ b/src/utils/legacy.py
@@ -174,7 +174,7 @@ def ogChangeRepo(ip, smb_user='opengnsys', smb_pass='og'):
try:
ipaddr = ipaddress.ip_address(ip)
except ValueError as e:
- raise ValueError('Invalid ip address')
+ raise ValueError(f'Invalid IP address {ip} received')
mounted = False
with open('/etc/mtab') as f: