You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor cache middleware and enhance health page error handling
- Updated the CacheMiddleware to remove placeholder files on non-200 responses and exceptions, allowing for retries instead of overwriting with error states.
- Introduced a new helper function `has_error` in the health page to check for errors in API results.
- Enhanced the health page to display error messages when fetching data for largest perp positions, most levered positions, largest spot borrows, and most levered spot borrows, improving user feedback during data retrieval.
0 commit comments