When there's an error in the sidebar, it attempts to catch the error and reload the sidebar. Assuming that the error isn't transient, this causes an infinite loop of error -> reload -> error -> reload -> etc., which results in the page freezing.
Expected Behavior
The error should be caught and handled. Errors should not cause the page to freeze.
Actual Behavior
The page freezes.
Steps to Reproduce
Raise any error in the sidebar to replicate locally.
Overview
When there's an error in the sidebar, it attempts to catch the error and reload the sidebar. Assuming that the error isn't transient, this causes an infinite loop of error -> reload -> error -> reload -> etc., which results in the page freezing.
Expected Behavior
The error should be caught and handled. Errors should not cause the page to freeze.
Actual Behavior
The page freezes.
Steps to Reproduce
Demo
https://rollbar.com/OpenApparelRegistry/OpenSupplyHub/items/141/?item_page=0&#traceback
Additional context
Issue #2313 is about the same Rollbar error.