Skip to content

Unhandled Exceptions from Promises in ActionSheet [selectServer] #6815

Open
@diegoeche

Description

@diegoeche

This issue respects the following points:

  • This issue is not already reported on GitHub (I've searched it).
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Describe the bug

When clicking outside of the ActionSheet, an exception is thrown that is not handled.

Image

Reproduction Steps

  1. Go to User -> Select Server
  2. Click on an already existing server, an ActionSheet with "Connect/Delete should be shown"
  3. Click outside of the ActionSheet
  4. Error from screenshot is displayed.

Expected/Actual behaviour

I expected no error to be shown.

Logs

No response

Server version

10.11.0

Web version

Server version 10.11.0 Web version 10.11.0 (66b21c5-dirty) Build version Dev Server

Build version

Dev Server

Platform

Linux, Web

Browser

Firefox

Additional information

This is something I found when getting started developing for jellyfin and reading the guideline "Recommendations for First Time Contributors". I suspect this exception is expected based on this comment:

#3967 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions