Error handling improvements for the bento (not refinable results) page
requested to merge 841-eds-bentos-with-additional-limiter-clauses-fail-with-blank-search into master
- Get rid of the verbose, pink failure style that was turned off in production anyway. Too much code for something we only used in development and was of limited value there. (FYI, that style was called ‘failed’ and the version you saw in production ‘gentle-error’. Now I got rid of the old ‘failed’ and renamed ‘gentle-error’ to ‘failed’. Helps explain the diff)
- Shows more granular (but user-friendly) error messages that we can add to later
- Replaces blank search terms in EDS bentos with ‘FT Y OR FT N’… to avoid errors in certain scenarios, though we have (bypass-able) front-end stuff to block you from using a blank search
- Makes the placard endpoint just ignore blank search terms
Related to #841 (closed)
Edited by Josh Wier