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

More descriptive error message #1

Open
DominikPeters opened this issue Feb 20, 2024 · 0 comments
Open

More descriptive error message #1

DominikPeters opened this issue Feb 20, 2024 · 0 comments

Comments

@DominikPeters
Copy link

I tried submitting a report via the app today, but received an error message (about 1 second after tapping Publier), persistent across several tries over hours and from different networks:

I then tried submitting the same report via the web interface, where I received a more descriptive error message, telling me that my description contained a forbidden character ("), and after fixing that it worked. So my guess is that's the problem for the iOS report too. (I haven't verified because I didn't want to submit duplicate reports.) If that's right, a more descriptive error message would be helpful.

From a quick code search, I believe the error dialog is triggered via this code: (because this particular error message will otherwise only be displayed after a 90 second timeout, and it was much faster)

} else {
print("Erreur sur l'enregistrement de l'incident")
self.closeForTimeout()
}

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

No branches or pull requests

1 participant