Adds exception handling to not spam detailed error stack when we have an HttpRequest exception. This keeps the log clean and avoids giving us false alarm exception spam when unrelated network issues happen, such as DNS resolution problems or simply no internet connection.
Detailed description of the pull request / Additional comments
Adds exception catches specifically for HttpRequestException and treats them as warnings and does not log the exception.
Validation steps performed
Built and deployed fix with forced HttpRequestException thrown to verify handling. Confirmed log has warnings and no exception stack dump and no errors.
Summary of the pull request
Adds exception handling to not spam detailed error stack when we have an HttpRequest exception. This keeps the log clean and avoids giving us false alarm exception spam when unrelated network issues happen, such as DNS resolution problems or simply no internet connection.
References and relevant issues
Observed such false alarm spam in: https://github.com/microsoft/devhome/issues/3778
Detailed description of the pull request / Additional comments
Validation steps performed
PR checklist