Commit ac0ac5f
committed
fix: Include full error chain in procedure HTTP request errors
Walk the `source()` chain of `reqwest::Error` when converting to
`NodesError::HttpError`, so users see the underlying cause (DNS failure,
connection refused, timeout, TLS error, etc.) instead of just the
opaque top-level "error sending request for url" message.
Fixes #46081 parent 2149325 commit ac0ac5f
1 file changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
857 | 857 | | |
858 | 858 | | |
859 | 859 | | |
860 | | - | |
861 | | - | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
862 | 872 | | |
863 | 873 | | |
864 | 874 | | |
| |||
888 | 898 | | |
889 | 899 | | |
890 | 900 | | |
891 | | - | |
| 901 | + | |
892 | 902 | | |
893 | 903 | | |
894 | 904 | | |
| |||
0 commit comments