UNCLASSIFIED - NO CUI

Skip to content

Provider a better error screen

On the initial fetch to required data such as teams, users, organizations etc. Provide a better error screen with a bit more information on what exactly went wrong by overriding the ErrorComponent property of the withAPIData HOC. Keep in mind that we don't want to get too specific as a security precaution. But something like "500 error when attempting to fetch teams" would be more actionable.

Edited by Mark Howard