Fix error reporting in boost queue minds#3176
Ticket(s) / Related Merge Requests
- minds#3176
- front!1950 (merged)
Summary of Changes
- Improves logging of errors and reporting of errors to client from endpoint.
- Improves error message fired when charging fails for a boost.
- Deprecates (seemingly broken) network boost refund logic.
Testing Considerations
GO STRAIGHT TO QUEUE VIA https://fix-boost-console-error-return-3176.minds.io/admin/boosts - this contains a bug where the top avatar is missing that is unrelated front#5601 (closed)
Go into the boost queue and reject a post that will error
Onchain boosts are a good example of posts that will fail because the refund part fails #2344 (closed)
If you decide to approve all of the boosts, further QA may be difficult so please don't use all of the ones in the queue.
Deployment Considerations
Straightforward deployment
Regression Scope
Does it break any existing functionality with boosts? Is there any situation where we DO want to refund a boost through that function?
Platform Affected (web, mobile, etc)
Engine / Web
Developer Testing Completed
Spec tests and manual
Screenshots / Screen Recording
Does this impact
-
Localization -
Dark/light mode -
Guest mode
Definition of Done Checklist
-
The Acceptance Criteria has been met -
Code is tested: Testing includes unit/spec, E2E/automated and manual testing -
Merge requests description has been filled out
Edited by Ben