Skip to content

Updating AxiosError to include stack trace#4624

Merged
jasonsaayman merged 3 commits intoaxios:masterfrom
despreston:des/better-error-stack
May 3, 2022
Merged

Updating AxiosError to include stack trace#4624
jasonsaayman merged 3 commits intoaxios:masterfrom
despreston:des/better-error-stack

Conversation

@despreston
Copy link
Copy Markdown
Contributor

Related to discussions here #2387

Attempt to capture the stack trace at the time the error is created in
order to maintain context about where the error originates from.

Related to discussions here axios#2387

Attempt to capture the stack trace at the time the error is created in
order to maintain context about where the error originates from.
Copy link
Copy Markdown
Member

@jasonsaayman jasonsaayman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet, this looks good and should significantly improve error reporting :)

@jasonsaayman jasonsaayman merged commit 7920d11 into axios:master May 3, 2022
@juriponomarenko
Copy link
Copy Markdown

I was waiting for this feature 😍
Any idea when the new release (that includes this feature) is coming?

@jasonsaayman
Copy link
Copy Markdown
Member

Soonish (+/- 1 week) I am going to try cut a non breaking release with cherry picks and then soon after a v1

@despreston despreston deleted the des/better-error-stack branch May 5, 2022 15:54
@brianmazzocchi
Copy link
Copy Markdown

Hi everyone,
Any idea about this new release?

@jasonsaayman
Copy link
Copy Markdown
Member

Working hard on getting it out, should be ready very soon

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.

8 participants