opensupplyhub / open-apparel-registry

An application for searching, matching, uploading factories.
MIT License
32 stars 13 forks source link

Fix sidebar infinite loop #2314

Closed TaiWilkin closed 1 year ago

TaiWilkin commented 1 year ago

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.

TaiWilkin commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @jwalgran @nanotubing