(rawBody: string)
| 1061 | } |
| 1062 | |
| 1063 | function safeJsonParse(rawBody: string) { |
| 1064 | try { |
| 1065 | return JSON.parse(rawBody); |
| 1066 | } catch (error) { |
| 1067 | return; |
| 1068 | } |
| 1069 | } |
| 1070 | |
| 1071 | async function safeResponseText(response: Response) { |
| 1072 | try { |
no test coverage detected
searching dependent graphs…