You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If possible, Pode should reject the invalid route configuration, due to the missing parameter.
Errors from the runspace handling the HTTP request should be surfaced to the parent runspace.
Platform
OS: Windows 11
Browser: n/a
Versions:
Pode: 2.5.2
PowerShell: 7.2.1
The text was updated successfully, but these errors were encountered:
If you add New-PodeLoggingMethod -Terminal | Enable-PodeErrorLogging the error is shown on the terminal :)
Hooowever, it does highlight something that could be added though: if I add the Position=0 property to the -Value parameter then Write-PodeTextResponse 'Hello Pode' works.
Describe the Bug
Write-PodeTextResponse silently fails if the -Value parameter is not specified.
Pode throws an HTTP error 500.
Steps To Reproduce
Expected Behavior
If possible, Pode should reject the invalid route configuration, due to the missing parameter.
Errors from the runspace handling the HTTP request should be surfaced to the parent runspace.
Platform
The text was updated successfully, but these errors were encountered: