Chora icon indicating copy to clipboard operation
Chora copied to clipboard

App should not crash when the specified navidrome server is down

Open accforgithubtest opened this issue 1 year ago • 2 comments

In a self-hosted set-up, I have set up navidrome server to automatically start up when there are requests / access, and shutdown if not in use for an hour or more.

I have installed chora app on android tv, and when I try to start up the app, it crashes without any errors.

An ideal way to gracefully handle the issue where the configured navidrome server is down (or in case of mis-congurations / network issues / etc), would be to display an error to the user without crashing the app. That way it is clear to the user that something is wrong with the server, and not the app.

accforgithubtest avatar Aug 17 '24 02:08 accforgithubtest

This should've been already implemented and working. Screenshot from 2024-08-17 13-18-40 Can you share the app logs when it crashes? Could be as simple as some other network exception not being caught.

CraftWorksMC avatar Aug 17 '24 11:08 CraftWorksMC

Thanks for your reply, it might be a case of uncaught exception.

Turns out I cannot access the logs because the the fire TV doesn't allow access to the apps folders.

I will try to re create the issue on phone and see if I can get logs from there.

accforgithubtest avatar Aug 17 '24 19:08 accforgithubtest

Should be fixed in 1.24. If you still encounter this issue, re-open this issue and i'll look into it deeper

CraftWorksMC avatar Sep 12 '24 15:09 CraftWorksMC