Expected behaviour is from a local Powershell 5.1 or 7.1 console
Actual behaviour is from a PSU API endpoint (Integrated or 5.1 or 7 doesn't matter)
Also in a try catch the $_ and $error[0] are empty.
It seems like the PSU (API) environment doesn't treat it as an error, if a RunId doesn't exist, but local enviroments with the Universal module do.
Also when I do a catch [Flurl.Http.FlurlHttpException] in PSU it tells me it doesn't know the (error) class, which is very streange
Version
3.9.17
Severity
High
Steps to Reproduce
When trying to query a non existing RunId:
Expected behaviour is from a local Powershell 5.1 or 7.1 console Actual behaviour is from a PSU API endpoint (Integrated or 5.1 or 7 doesn't matter)
Also in a try catch the $_ and $error[0] are empty. It seems like the PSU (API) environment doesn't treat it as an error, if a RunId doesn't exist, but local enviroments with the Universal module do.
Also when I do a
catch [Flurl.Http.FlurlHttpException]
in PSU it tells me it doesn't know the (error) class, which is very streangeExpected behavior
Actual behavior
Additional Environment data
Windows Server 2022 Kestrel LiteDB
Visuals
No response