mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 13:41:28 -03:30
Add default error boundary around screens SUMMARY Catch any unhandled non-async errors with an error boundary around screens. This will show a generic error message instead of crashing the page. The react docs decently summarize the general concept of error boundaries. The example code is informative, but there appears to be a few more edge cases that need to be dealt with. Rather than re-implement solutions for those, I decided to pull in a simple and well-tested library. ADDITIONAL INFORMATION before after Reviewed-by: Keith Grant <keithjgrant@gmail.com> Reviewed-by: Kersom <None> Reviewed-by: Tiago Góes <tiago.goes2009@gmail.com>