(baseURL)
| 74507 | } |
| 74508 | const status = error.status || error.response?.status; |
| 74509 | if (status && status >= 500 && status < 600) { |
| 74510 | return true; |
| 74511 | } |
| 74512 | } |
| 74513 | return false; |
| 74514 | } |
| 74515 | function getCustomEndpointLabel(baseURL) { |
| 74516 | if (!baseURL) { |
| 74517 | return null; |
| 74518 | } |
| 74519 | try { |
| 74520 | return new URL(baseURL).host; |
| 74521 | } catch { |
no outgoing calls
no test coverage detected
searching dependent graphs…