qubes/vm/qubesvm: change type of exception
This commit is contained in:
parent
3b08e85a2d
commit
6895f34a7f
@ -96,7 +96,7 @@ def _setter_name(self, prop, value):
|
||||
pass
|
||||
|
||||
if value in self.app.domains:
|
||||
raise qubes.exc.QubesException(
|
||||
raise qubes.exc.QubesValueError(
|
||||
'VM named {} alread exists'.format(value))
|
||||
|
||||
return value
|
||||
|
Loading…
Reference in New Issue
Block a user