Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error message for non-existing VM passed to a VMProperty
Trying to set a VMProperty (netvm, template, ...) to a non-existing VM previously raised a QubesVMNotFoundError. While this is not wrong qvm-prefs can't distinguish this from other cases (for example see [1]) so instead raise QubesPropertyValueError with a matching error message. Fixes QubesOS/qubes-issues#6966 [1]: https://github.com/QubesOS/qubes-core-admin-client/blob/e7892560a3a64b924c20dd81bb7f718b5b1c49de/qubesadmin/base.py#L382 (cherry picked from commit 83b1959)
- Loading branch information