We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a66c69 commit bffbf4aCopy full SHA for bffbf4a
1 file changed
source/session.ts
@@ -647,13 +647,14 @@ export class Session<
647
});
648
}
649
} catch (reason) {
650
- logger.warn("Failed to perform request. ", reason);
651
if (reason instanceof Error && reason.name === "AbortError") {
+ logger.debug("Request was aborted. ", reason);
652
throw this.getErrorFromResponse({
653
exception: "AbortError",
654
content: reason.message,
655
656
657
+ logger.warn("Failed to perform request. ", reason);
658
throw reason;
659
660
0 commit comments