Improve rename error message (#723)

This commit is contained in:
Noah Martin 2024-01-30 10:01:42 -05:00 committed by GitHub
parent 18d462dd3d
commit 9bb71a4051
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ struct Rename: AsyncParsableCommand {
}
if localStorage.exists(newName) {
throw ValidationError("failed to rename VM \(name), target VM \(name) already exists, delete it first!")
throw ValidationError("failed to rename VM \(name), target VM \(newName) already exists, delete it first!")
}
try localStorage.rename(name, newName)