Skip to content

Error handling improvements for the bento (not refinable results) page

  • 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

Merge request reports

Loading