We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6921b7 commit ec27092Copy full SHA for ec27092
src/client.ts
@@ -555,7 +555,7 @@ export class Finch {
555
loggerFor(this).info(`${responseInfo} - ${retryMessage}`);
556
557
const errText = await response.text().catch((err: any) => castToError(err).message);
558
- const errJSON = safeJSON(errText);
+ const errJSON = safeJSON(errText) as any;
559
const errMessage = errJSON ? undefined : errText;
560
561
loggerFor(this).debug(
0 commit comments