renatolond / mastodon-twitter-poster

Crossposter to post statuses between Mastodon and Twitter
GNU Affero General Public License v3.0
807 stars 58 forks source link

Better error message for mistyped accounts? #861

Closed edent closed 1 year ago

edent commented 2 years ago

If a user makes a typo when entering their Mastodon details and gives a server which doesn't exist, they get this error:

We're sorry but something went wrong (500)

You can see this if you type in test@example.com

renatolond commented 2 years ago

Yeah, this is something I have struggled for a while with. The OAuth part is controlled by an external library and the last time I tried I didn't manage to find a way to plug good errors into it. I'll try again looking into when I have some time :)

TonyHoyle commented 1 year ago

This is more than a UI thing.. I think I'm misunderstanding what is meant by 'full mastadon username' in the prompt (I'm just using my mastadon username, but I think it wants something else??) as I just get this error every time I try to connect, so exactly what the error is would be very useful.

.. and now it suddenly started working. Maybe the server was just busy.. but better error messages please!

renatolond commented 1 year ago

This should be fixed with https://github.com/renatolond/mastodon-twitter-poster/commit/aace84ff472a21c82dd3fb66a33d5ffaed624ef8 :)