Currently the dev tunnels SDK logs an error if the registry key that sets policies doesn't exist on every outgoing HTTP request. This shouldn't happen: the lack of a policy is an expected state for the majority of users, I would expect a ~debug level log on client creation if the policy wasn't found, but not an error, and not on every request
[2024-01-29 14:27:05] debug Starting tunnel with `code-oss target\debug\code.exe --verbose tunnel`
[2024-01-29 14:27:06] trace wsl availability detected via lxss
[2024-01-29 14:27:07] debug Starting tunnel to server...
user agent "vscode-server-launcher/1.87.0 Dev-Tunnels-Service-Rust-SDK/0.1.0 (OS: Windows 10.0.22621)"
[2024-01-29 14:27:07] error [tunnels::management::http_client] Failed to get policy header value: The system cannot find the file specified. (os error 2)
[2024-01-29 14:27:07] trace Found token in keyring
[2024-01-29 14:27:07] error [tunnels::management::http_client] Failed to get policy header value: The system cannot find the file specified. (os error 2)
[2024-01-29 14:27:07] trace Found token in keyring
Currently the dev tunnels SDK logs an error if the registry key that sets policies doesn't exist on every outgoing HTTP request. This shouldn't happen: the lack of a policy is an expected state for the majority of users, I would expect a ~debug level log on client creation if the policy wasn't found, but not an error, and not on every request