Skip to content

fix: modify log while request is aborted#4917

Merged
jasonsaayman merged 7 commits intoaxios:v0.xfrom
mori5321:fix/modify_log_while_response_stream_aborted
Dec 5, 2024
Merged

fix: modify log while request is aborted#4917
jasonsaayman merged 7 commits intoaxios:v0.xfrom
mori5321:fix/modify_log_while_response_stream_aborted

Conversation

@mori5321
Copy link

@mori5321 mori5321 commented Aug 17, 2022

What

Change a log sentence of "aborted response handling".

fix: #4806

Why

The previous log says 'maxContentLength size of {maxContentLength} exceeded',
but it does not represent an actual error, because it is caused by aborted response stream.

mori5321 and others added 2 commits August 17, 2022 21:37
since the previous log 'maxContentLength size of {maxContentLength} exceeded' does not represent an acutual error, I just modified the sentence.
@jasonsaayman
Copy link
Member

Please can you check the CI is failing

….com:mori5321/axios into fix/modify_log_while_response_stream_aborted
@mori5321
Copy link
Author

@jasonsaayman Sorry, I didn't notice that mention.
Could you please re-run CI again?

@mori5321
Copy link
Author

I rewrite the test.

@ouya99
Copy link

ouya99 commented May 4, 2023

Do not understand the idea behind this fix? You mention "This is not an error", but you keep calling AxiosError. What is this?

@mhassan1
Copy link
Contributor

@mori5321 Are you able to bring this branch up to date and point this PR at v1.x?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants