mirror of
https://github.com/Corsinvest/cv4pve-api-powershell.git
synced 2026-04-25 12:15:48 +03:00
[GH-ISSUE #49] exception not handled well #32
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-api-powershell#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @schelte44 on GitHub (Feb 4, 2026).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-api-powershell/issues/49
What happened?
In the current function IsNumeric, an error is introduced on the global error stack when non numeric values are tested. A more convenient way would be for example (I gemini'd it..):
function IsNumeric([string]$x) {
return ($x -as [double]) -ne $null
}
Expected behavior
IsNumeric should not put errors on the error stack
Relevant log output
Proxmox VE Version
9.1
Module Version
9.1.1
PowerShell Version
7.5.4
Version (working)
No response
On what operating system are you experiencing the issue?
Windows
Pull Request
@franklupo commented on GitHub (Feb 6, 2026):
We are checking the problem thanks