Skip to content

Allow treating unsuccessful status code as non-error, avoid setting exception #636

Allow treating unsuccessful status code as non-error, avoid setting exception

Allow treating unsuccessful status code as non-error, avoid setting exception #636

Triggered via pull request November 19, 2025 15:12
Status Failure
Total duration 3m 24s
Artifacts 1

pull-request.yml

on: pull_request
Event File
4s
Event File
Matrix: test-linux
Matrix: test-windows
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 7 warnings
test-linux (net10.0)
Process completed with exit code 1.
test-linux (net10.0): src/RestSharp/Response/RestResponse.cs#L66
'ReadOnlyRestClientOptions' does not contain a definition for 'ErrorWhenUnsuccessfulStatusCode' and no accessible extension method 'ErrorWhenUnsuccessfulStatusCode' accepting a first argument of type 'ReadOnlyRestClientOptions' could be found (are you missing a using directive or an assembly reference?)
test-linux (net10.0): src/RestSharp/RestClient.Async.cs#L51
'ReadOnlyRestClientOptions' does not contain a definition for 'ErrorWhenUnsuccessfulStatusCode' and no accessible extension method 'ErrorWhenUnsuccessfulStatusCode' accepting a first argument of type 'ReadOnlyRestClientOptions' could be found (are you missing a using directive or an assembly reference?)
test-linux (net9.0)
The strategy configuration was canceled because "test-linux.net10_0" failed
test-linux (net9.0)
Process completed with exit code 1.
test-linux (net9.0): src/RestSharp/Response/RestResponse.cs#L66
'ReadOnlyRestClientOptions' does not contain a definition for 'ErrorWhenUnsuccessfulStatusCode' and no accessible extension method 'ErrorWhenUnsuccessfulStatusCode' accepting a first argument of type 'ReadOnlyRestClientOptions' could be found (are you missing a using directive or an assembly reference?)
test-linux (net9.0): src/RestSharp/RestClient.Async.cs#L51
'ReadOnlyRestClientOptions' does not contain a definition for 'ErrorWhenUnsuccessfulStatusCode' and no accessible extension method 'ErrorWhenUnsuccessfulStatusCode' accepting a first argument of type 'ReadOnlyRestClientOptions' could be found (are you missing a using directive or an assembly reference?)
test-linux (net8.0)
The strategy configuration was canceled because "test-linux.net10_0" failed
test-linux (net8.0)
The operation was canceled.
test-linux (net8.0): src/RestSharp/Response/RestResponse.cs#L66
'ReadOnlyRestClientOptions' does not contain a definition for 'ErrorWhenUnsuccessfulStatusCode' and no accessible extension method 'ErrorWhenUnsuccessfulStatusCode' accepting a first argument of type 'ReadOnlyRestClientOptions' could be found (are you missing a using directive or an assembly reference?)
test-linux (net8.0): src/RestSharp/RestClient.Async.cs#L51
'ReadOnlyRestClientOptions' does not contain a definition for 'ErrorWhenUnsuccessfulStatusCode' and no accessible extension method 'ErrorWhenUnsuccessfulStatusCode' accepting a first argument of type 'ReadOnlyRestClientOptions' could be found (are you missing a using directive or an assembly reference?)
test-windows (net48)
Process completed with exit code 1.
test-windows (net48): src/RestSharp/RestClient.Async.cs#L51
'ReadOnlyRestClientOptions' does not contain a definition for 'ErrorWhenUnsuccessfulStatusCode' and no accessible extension method 'ErrorWhenUnsuccessfulStatusCode' accepting a first argument of type 'ReadOnlyRestClientOptions' could be found (are you missing a using directive or an assembly reference?)
test-windows (net48): src/RestSharp/Response/RestResponse.cs#L66
'ReadOnlyRestClientOptions' does not contain a definition for 'ErrorWhenUnsuccessfulStatusCode' and no accessible extension method 'ErrorWhenUnsuccessfulStatusCode' accepting a first argument of type 'ReadOnlyRestClientOptions' could be found (are you missing a using directive or an assembly reference?)
test-windows (net9.0)
The strategy configuration was canceled because "test-windows.net48" failed
test-windows (net9.0)
The operation was canceled.
test-windows (net10.0)
The strategy configuration was canceled because "test-windows.net48" failed
test-windows (net10.0)
The operation was canceled.
test-windows (net8.0)
The strategy configuration was canceled because "test-windows.net48" failed
test-windows (net8.0)
The operation was canceled.
test-linux (net10.0)
No files were found with the provided path: test-results/**/*.xml test-results/**/*.trx test-results/**/*.json. No artifacts will be uploaded.
test-linux (net9.0)
No files were found with the provided path: test-results/**/*.xml test-results/**/*.trx test-results/**/*.json. No artifacts will be uploaded.
test-linux (net8.0)
No files were found with the provided path: test-results/**/*.xml test-results/**/*.trx test-results/**/*.json. No artifacts will be uploaded.
test-windows (net48)
No files were found with the provided path: test-results/**/*.xml test-results/**/*.trx test-results/**/*.json. No artifacts will be uploaded.
test-windows (net9.0)
No files were found with the provided path: test-results/**/*.xml test-results/**/*.trx test-results/**/*.json. No artifacts will be uploaded.
test-windows (net10.0)
No files were found with the provided path: test-results/**/*.xml test-results/**/*.trx test-results/**/*.json. No artifacts will be uploaded.
test-windows (net8.0)
No files were found with the provided path: test-results/**/*.xml test-results/**/*.trx test-results/**/*.json. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
Event File
5.13 KB
sha256:cd221c398ebb19630a520b34fd3c1d80e0f5a701275e37d10611b03eb6d7d694