Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verbose network error details #4870

Open
draeath opened this issue Jan 14, 2025 · 2 comments
Open

verbose network error details #4870

draeath opened this issue Jan 14, 2025 · 2 comments

Comments

@draeath
Copy link

draeath commented Jan 14, 2025

Pitch

Currently, if something goes wrong, Tusky simply reports "An error occurred." This is insufficient for any sort of troubleshooting, especially for an application that utilizes APIs.

Additionally, even logcat seems to not contain any details about the problem.

It's fine to hide this sort of issue normally, but there should be a means to capture the error details so that they can be passed along.

Motivation

My instance admin has several users, myself included, experiencing some sort of error accessing the "trending posts" and a few other pages after upgrading their instance. We are unable to provide any sort of useful client-side troubleshooting information due to this.

@connyduck
Copy link
Collaborator

The quickest way to see the problem would be running a debuggable Tusky build and checking logcat.
But yes, there should be a way to get the actual error in the regular app as well.

@draeath
Copy link
Author

draeath commented Jan 14, 2025

If it's helpful in an illustrative manner, we found that the issue ended up being reproducible in the web interface as a 500 response for /api/v1/trends/statuses

Root cause happened to be an upstream Mastodon bug: mastodon/mastodon#33555

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants