2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

fix: updated stream aborted error message to be more clear (#6615)

This commit is contained in:
Taylor Flatt
2024-09-28 06:04:22 -05:00
committed by GitHub
parent 8f3cde11d2
commit cc3217a612
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -569,7 +569,7 @@ export default isHttpAdapterSupported && function httpAdapter(config) {
}
const err = new AxiosError(
'maxContentLength size of ' + config.maxContentLength + ' exceeded',
'stream has been aborted',
AxiosError.ERR_BAD_RESPONSE,
config,
lastRequest