mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
36be3d14a1
## Addresses #12968 https://www.loom.com/share/37aaaa36936b47079ff3088c3430e36b?sid=c249306b-a32e-4a33-be83-aae2d13c98aa - Improve the implementation of error reporting by `sendRequest` to handle when AxiosError information is being provided in different fields (`response`, `message`, `code`, or nowhere), as opposed to relying on only the `response` field, which is empty in some (including this) situations - Using the more fine-grained reporting above, exempt `Request aborted` errors when fetching a user's data, which is what occurs here, from triggering a token clear and login page redirect. - Use dedicated token handling utilities everywhere ## Checklist for submitter - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com> |
||
---|---|---|
.. | ||
_styles.scss | ||
App.tsx | ||
index.ts |