Commit ef3f4dd
committed
Log the failed request in the all-domains error path
The FluxC implementation logged `result.error.message`; the wordpress-rs
version logged only a constant string, leaving no status code, URL, or
reason to triage a failure with. Use `toLogErrorString()`, which formats
each `WpRequestResult` failure variant for diagnostics.1 parent 913fd01 commit ef3f4dd
1 file changed
Lines changed: 3 additions & 1 deletion
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | | - | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
0 commit comments