summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/vyos/configsession.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/configsession.py b/python/vyos/configsession.py
index 4e9d30fa7..b989d3be5 100644
--- a/python/vyos/configsession.py
+++ b/python/vyos/configsession.py
@@ -67,7 +67,7 @@ class ConfigSession(object):
result = p.wait()
output = p.stdout.read().decode()
if result != 0:
- raise VyOSAPIError(output)
+ raise ConfigSessionError(output)
def set(self, path, value=None):
if not value: