Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errorHandler中的error,获取不到request信息 #304

Open
XB-Paul opened this issue Jul 14, 2022 · 0 comments
Open

errorHandler中的error,获取不到request信息 #304

XB-Paul opened this issue Jul 14, 2022 · 0 comments

Comments

@XB-Paul
Copy link

XB-Paul commented Jul 14, 2022

截屏2022-07-14 下午2 58 21

image

我期望在errorHandler的回调中,获取error的request信息。但是,我在某些请求中无法获取到request信息。(我试了response.status为400时,有这个request信息)。

这个问题是否能够解决?
前端可通过什么配置可获取到request信息? 或者 是需要后端做什么处理之后,前端才能获取到?

望知情人解惑

@XB-Paul XB-Paul changed the title errorHander中的error,获取不到request信息 errorHandler中的error,获取不到request信息 Jul 14, 2022
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

No branches or pull requests

1 participant