Tribler / tribler

Privacy enhanced BitTorrent client with P2P content discovery
https://www.tribler.org
GNU General Public License v3.0
4.73k stars 445 forks source link

`FeedbackDialog` triggers multiple times upon en exception in RESTComponent #8055

Open drew2a opened 4 weeks ago

drew2a commented 4 weeks ago

Describe the bug There is something wrong with the implemented

To Reproduce Steps to reproduce the behavior:

  1. Go to RESTComponent and write raise ValueError on line 113:
        rest_manager = RESTManager(config=config.api, root_endpoint=self.root_endpoint, state_dir=config.state_dir)
        raise ValueError
        await rest_manager.start()
  2. Run Tribler
  3. Wait

Expected behavior It should fire FeedbackDialog once.

Screenshots

feedback

Desktop (please complete the following information):