Skip to content

Commit

Permalink
Do not reset console on error response
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-ignatov committed Sep 8, 2023
1 parent 3edb6e6 commit d5b5bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ export default class BaseClient

const txt = await response.text()

print.commit()

// istanbul ignore next (manual retry)
if (manualRetry && process.env.NODE_ENV !== "test" && this.askToRetry(url, response, _options, txt)) {
print.commit()
response = await this._fetch(url, _options)
continue
}
Expand Down

0 comments on commit d5b5bbe

Please sign in to comment.